You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The next parameter is missing in the links[0].bodyof the response when sortby is used in a query. I thought pystac-client had the bug, but it's clear what's happening when using postman. This causes clients to either loop forever or keep sending the same query for the first page again and again.
Should the fallback here be to use page on the client side, risking duplicate object being ingested while paging?
The
next
parameter is missing in thelinks[0].body
of the response whensortby
is used in a query. I thought pystac-client had the bug, but it's clear what's happening when using postman. This causes clients to either loop forever or keep sending the same query for the first page again and again.Should the fallback here be to use
page
on the client side, risking duplicate object being ingested while paging?Related Issues:
#242 (see comments), #332, #354
Ways to reproduce this bug:
Easiest way to reproduce this is using stac-browser
Using cURL
This works, and you get a next token.
Response:
And this doesn’t…
Response:
Nothing in the links[0].body
CC: @philvarner, @dmcvicar
The text was updated successfully, but these errors were encountered: