Skip to content

Errors

Every error is a problem document (RFC 9457) with a stable code. This page explains the format and lists every code the API answers.

The problem format

Errors are sent as application/problem+json:

400 Bad Request
{
  "type": "https://collection.id/developers/errors#invalid_request",
  "title": "Bad Request",
  "status": 400,
  "detail": "Add the series title as printed on the cover.",
  "code": "invalid_request",
  "errors": [{ "path": "body.seriesTitle", "message": "Add the series title as printed on the cover." }],
  "requestId": "0b4f3b1e-6c1a-4f5e-9f0e-1f2a3b4c5d6e",
  "error": {
    "code": "invalid_request",
    "message": "Add the series title as printed on the cover."
  }
}
  • Program against code. It’s stable and snake_case; detail is written for people and may change.
  • type links the code’s entry on this page.
  • errors[] names each field that failed, as params., query. or body. followed by its path.
  • requestId is the request’s X-Request-Id: quote it to support.
  • error is the older shape ({ code, message, details }), kept so existing clients keep working. It’s deprecated in favour of code and detail.
  • A 500 internal says nothing more, on purpose: our logs have the details under its request id.

Every code

209 codes, with their statuses and what they mean. Each operation’s own codes are in the reference.