Understanding and working with API errors
error
object instead of data
:
Status | Error Type | Description |
---|---|---|
400 | validation-error | The request body failed validation |
401 | unauthorized | Missing or invalid authorization |
403 | forbidden | Valid authorization but insufficient permissions |
404 | not-found | The requested resource was not found |
409 | conflict | The request conflicts with the current state |
429 | rate-limited | You’ve exceeded your rate limit |
500 | internal-server-error | An unexpected error occurred on our servers |
body.name
, query.limit
)requestId
from the error response. This unique identifier allows us to quickly locate the specific request in our logs and provide faster, more accurate assistance.