> For the complete documentation index, see [llms.txt](https://tristans-organization-4.gitbook.io/attuitive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tristans-organization-4.gitbook.io/attuitive/api-reference/error-handling.md).

# Error handling

The Attuitive API uses standard [HTTP response codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status) to indicate the result of a request. It can be assumed anything in the `2xx` range was successful. Codes in the `4xx` range indicate a client error, and something that can be fixed by correcting information in the request (e.g. a bad ID or missing parameters) and trying again. Codes in the `5xx` range should be rare and indicate an error from Attuitive.

**All** responses outside of the `2xx` range will return a standard error format:

```json
{
  "status": 400,
  "message": "Invalid identifiers",
  "moreInfo": "The provided identifiers should be a valid JSON object."
}
```

| Name       | Type   | Description                                      |
| ---------- | ------ | ------------------------------------------------ |
| `status`   | number | HTTP response code                               |
| `message`  | string | A brief description of the error                 |
| `moreInfo` | string | Further details on the error and/or remedy steps |
