Skip to content

Errors

Every failure comes back in one shape, in English whatever language the board’s owner picked. That includes failures with no record behind them and ones that never reach a controller, such as an unknown route or a crash:

{ "errors": { "due_on": ["can't be blank in Todo or Doing"] }, "request_id": "5f0c1e9a-…" }

The keys of errors name the fields at fault; a failure that isn’t about a field is under base.

request_id is the request’s reference, the same value as the X-Request-Id response header. Quote it when reporting a problem: it finds the request in the board’s logs. Send your own X-Request-Id and it is used instead, so your logs and the board’s share the id.

Status When
400 The body is missing the object a write needs (the key names it), or isn’t valid JSON
401 No credential, or a revoked or expired token
403 The user is deactivated, the note isn’t yours to change, or the token lacks the scope
404 No such record or route, including a column_id that isn’t on the board the card ends on
406 The endpoint doesn’t answer JSON (see What the API doesn’t serve)
409 A concurrent change took the same unique value; retry
422 Validation of what you sent failed, a required field was null, a query parameter isn’t recognised, or a search can’t be parsed
429 The sign-in rate limit, or the token’s request allowance; wait for Retry-After
500 A bug, still in the envelope under base. It is reported on the board’s side, and request_id identifies it

For a few seconds while a board restarts, the edge in front of it may answer 404, 502, or 503 in plain text, with no JSON body and no request_id. Those answers come from the edge, not the board, so treat a 404, 502, or 503 that isn’t JSON as transient: retry with backoff before concluding that a record is gone.