mirror of
https://github.com/directus/directus.git
synced 2026-01-23 07:28:03 -05:00
* Add Quickstart Guide * Update installation * Remove unused files * Update support/backing * Tweaks in concepts * Setup file structure for API reference 2.0 * Setup page layout for reference * Add clean-urls plugin * getting started updates * Finish authentication rest * getting started updates * Render stylus in 2 spaces * Various * Various * Finish activity docs * Add collections reference * Add extension reference * concepts updates * Fields/tweaks * Add files doc * Add revisions * concepts docs * More api reference * Finish rest api reference (finally) * initial concepts * More things * Add assets api ref * Move sections from file to assets * Add environment variables * contributing docs * Add field transforms page * Left align table headers * concept links * Add API config * Fix mobile nav * Add migrating a project * doc link fixes Co-authored-by: Ben Haynes <ben@rngr.org>
1.5 KiB
1.5 KiB
Error Codes
| Error Code | HTTP Status | Description |
|---|---|---|
FAILED_VALIDATION |
400 | Validation for this particular item failed |
FORBIDDEN |
403 | You are not allowed to do the current action |
INVALID_CREDENTIALS |
401 | Username / password or access token is wrong |
INVALID_IP |
401 | Your IP address isn't allow-listed to be used with this user |
INVALID_OTP |
401 | Wrong OTP was provided |
INVALID_PAYLOAD |
400 | Provided payload is invalid |
INVALID_QUERY |
400 | The requested query parameters can not be used |
REQUESTS_EXCEEDED |
429 | Hit the rate limit |
ROUTE_NOT_FOUND |
404 | Endpoint does not exist |
SERVICE_UNAVAILABLE |
503 | Could not use external service |
UNPROCESSABLE_ENTITY |
422 | You tried doing something illegal |
::: warning Security
To prevent leaking which items exist, all actions for non-existing items will return a FORBIDDEN error.
:::