Invalid request
The request is malformed, so we could not read it.
- Status
- Type
https://docs.digitospace.com/problems/invalid-request
What it means
We could not make sense of the request. Something in its shape is wrong, such as an ID in the path that is not a valid ID, a cursor or limit we cannot read, or a body that is not valid JSON.
This is different from Validation failed, where we could read the request but some of its values break the rules.
How to fix it
- Read
detail. It names what we could not read. - Check that IDs in the path are copied whole from an earlier response.
- Pass
cursorexactly as it came inmeta.page.nextCursor. - Check the body is valid JSON, for example by parsing it before you send it.
Sending the same request again gets the same answer.
Codes
| Code | Retryable | When |
|---|---|---|
invalid_request | No | A bad ID, cursor, limit, or JSON body |
Last updated