Skip to main content
Every error of the Admin API has the same shape:
  • code is stable and snake_case: branch on it.
  • message is for people. It may change.
  • details is there when the error has more to say, shaped per code.

Validation

422 validation_failed lists every problem at once in details.fields:

Status codes

Each endpoint lists the codes it can answer in the API reference.