> For the complete documentation index, see [llms.txt](https://docs.joinfoundhero.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.joinfoundhero.com/errors.md).

# Errors

The Found Hero API uses standard HTTP error and status codes to communicate errors. There are multiple HTTP status codes for different types of errors:

* `200 Ok` — The request was performed successfully.
* `400 Bad Request` — The request was unacceptable, often due to missing a required parameter.
* `401 Unauthorized` — No valid access token provided. The access token was either missing or expired.
* `403 Forbidden` — The access token doesn't have permission to perform the request.
* `404 Not Found` — The requested resource doesn't exist.
* `422 Unprocessable Entity` — The request was malformed.
* `500 Internal Server Error` — An unexpected error ocurred on our server. In most cases, such an error represents a bug on our side. We automatically log such errors and fix them quickly. If anything like this persists, feel free to directly [contact us](/master.md#support).

In case of an error, `status` is set to `false` in the returned JSON object. The `message` property contains an explanation specific to that error. This is the property that is most useful to a human. Here is an example JSON response for `401 Unauthorized`:

```javascript
{
    "status": false,
    "message": "Authentication failed. Wrong password."
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.joinfoundhero.com/errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
