Errors
Failed requests return an HTTP error status and a body like this:
{
"success": false,
"errors": [
{ "key": "ACCESS_TOKEN_EXPIRED", "message": "access token invalid" }
]
}
keyis stable. Use it in code.messageis for people. Do not parse it.errorscan hold more than one entry, for example one per invalid field.
Common statuses
| Status | Meaning |
|---|---|
| 400 | The request is invalid. Check errors. |
| 401 | Missing, invalid or expired token. Refresh it or sign in again. |
| 403 | The user or the token's scopes do not allow this. |
| 404 | Not found, or not visible to this user. |
| 409 | Conflict with the current state. Reload and retry. |
| 429 | Too many requests. Slow down and retry later. |