Skip to main content
Errors are indicated by a 4xx or 5xx HTTP status code. The table below lists common status codes used by this API.

General Errors

For most types of errors, the response body will include a description of the error in the detail key.

Validation Errors

For validation errors (HTTP 400), the response body will map fields in the request to arrays of error messages.
Error messages that aren’t associated with any specific field are mapped to the non_field_errors key.