UNable to go to next page for search function

Hello ,

i used https://services.sentinel-hub.com/api/v1/catalog/search for searching sentinel-s2-l1c data for a range of 1 year (2020-01-01 to 2020-12-31).

Initially it generated only till 4th month (as it was exceeding limit 100)

Later added pagination to fetch the data from next page to get all the data for available dates , but i am not getting any data from next page

Could anyone help me out to resolve this

Thanks in advance

my Request :

{
datetime: ‘2020-01-01T00:00:00Z/2020-12-30T00:00:00Z’,
collections: [ ‘sentinel-2-l1c’ ],
limit: 100,
intersects: { type: ‘Polygon’, coordinates: [ [Array] ] },
next: 5
}

tried using an example specified in https://docs.sentinel-hub.com/api/latest/api/catalog/examples/#simple-post-search-with-pagination

Example request:

curl -X POST ‘services.sentinel-hub.com/api/v1/catalog/search
-header 'Authorization: Bearer ’
-header ‘Content-Type: application/json’
-data-raw ‘{
“bbox”: [13,45,14,46],
“datetime”: “2019-12-10T00:00:00Z/2019-12-10T23:59:59Z”,
“collections”: [“sentinel-1-grd”],
“limit”: 5,
“next”: 5
}’

If you use “next:5”, you will get results starting from the 5th one, e.g. 5-104.
You should use next:100

E.g. this works for me:

{
	"bbox": [13,45,14,46],
	"datetime": "2020-01-01T00:00:00Z/2020-12-30T00:00:00Z",
	"collections": ["sentinel-2-l1c"],
	"limit": 100,
    "next": 101
}