ERRORS / 400

Invalid request.

The request was malformed or a field failed validation. Nothing was changed.

code: INVALID_REQUESTHTTP 400. Retrying the same request will fail again. Fix the cause, then send it again.

Common causes

  • A required field, query parameter or Idempotency-Key is missing.
  • A value has the wrong type or format, such as an ID that is not a UUID or a date that is not RFC 3339.
  • The body contains a field the operation does not accept. Unknown fields are always rejected.
  • A page cursor was not returned by the API, or a report window is longer than 90 days.

What to do

  • Read the errors object: it maps each failing field to its message.
  • Compare the request with the operation's schema in the API reference.

The response's detail names the specific reason, and request_id (also in the X-Request-Id header) identifies the request if you contact Simple.

All error codes ↗