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
With latest main of stac-fastapi, the response is a JSON object:
$ curl -si --json @query.json http://localhost:8080/search
HTTP/1.1 400 Bad Request
date: Thu, 02 Feb 2023 14:32:46 GMT
server: uvicorn
content-length: 176
content-type: application/json
{"code":"RequestValidationError","description":"1 validation error for Request\nbody -> intersects\n intersects and bbox parameters are mutually exclusive (type=value_error)"}
The Planetary Computer API is pinned to 25879af of this repo, which also has the correct JSON response. It looks like the PC is opting to return plain text responses, so I've opened an issue over there to capture: microsoft/planetary-computer-apis#151. Closing this one as complete.
Per the Item Search spec, /search called with a bbox and intersects should return a 400. When running against Planetary Computer, this returns a 200.
The text was updated successfully, but these errors were encountered: