> For the complete documentation index, see [llms.txt](https://docs.thebrief.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thebrief.ai/public-api/rest-api/error-codes.md).

# Error codes

We are using the following error codes for our endpoints:

* 400: Invalid user inputs or broken design.
* 401: Unauthenticated user request.
* 403: Forbidden access to a resource.
* 404: Resource not found.
* 405: Method not allowed.
* 410: User lacks access to a resource.
* 429: Too many requests.
* 500: Internal server error for unhandled errors.

Our aim is to reduce 500 errors through ongoing improvements in error management.
