Invalid request

The request is malformed, so we could not read it.

Status
400
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 cursor exactly as it came in meta.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

CodeRetryableWhen
invalid_requestNoA bad ID, cursor, limit, or JSON body

Last updated