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
Describe the bug
As described stac-utils/stac-fastapi#463 (comment), the error response from the /search endpoint (and others) should be JSON. It looks like the Planetary Computer is opting-in to plaintext responses:
IIRC, this was added after some feedback around text vs json error responses. However, if it's invalid against the stac-api spec we should remove. I'll add an internal issue to track.
Describe the bug
As described stac-utils/stac-fastapi#463 (comment), the error response from the
/search
endpoint (and others) should be JSON. It looks like the Planetary Computer is opting-in to plaintext responses:planetary-computer-apis/pcstac/pcstac/main.py
Lines 138 to 142 in 95190c5
Is there a reason to not return JSON here?
To reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: