Files
directus/docs/reference/error-codes.md
rijkvanzanten 41a3ffcd00 Format md
2020-12-01 16:52:51 -05:00

17 lines
971 B
Markdown

# Error Codes
| Error Code | Description |
| --------------------- | ---------------------------------------------- |
| `FAILED_VALIDATION` | Validation for this particular item failed |
| `FORBIDDEN` | You are not allowed to do the current action |
| `INVALID_CREDENTIALS` | Username / password or access token is wrong |
| `INVALID_OTP` | Wrong OTP was provided |
| `INVALID_PAYLOAD` | Provided payload is invalid |
| `INVALID_QUERY` | The requested query parameters can not be used |
| `REQUESTS_EXCEEDED` | Hit rate limit; Too many requests |
| `ROUTE_NOT_FOUND` | Endpoint does not exist |
| `SERVICE_UNAVAILABLE` | Could not use external service |
:::warning Security To prevent leaking which items exist, all actions for non-existing items will
return a `FORBIDDEN` error. :::