Files
directus/docs/reference/error-codes.md
Rijk van Zanten 5450de0351 Update Docs (#3905)
* Allow formatted value display for numbers

* Move the docs website into monorepo

* Fix build

* Tweak docs build setup

* Fix tips, pull in images

* Add syntax highlighting to docs

* Restructure nav, add divider

* Fix tips formatting

* Add prettier config

* Add editorconfig
2021-02-02 11:55:04 -05:00

22 lines
980 B
Markdown

# Error Codes
> TK
| 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.
:::