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

# Standard Error Format

If an error is returned by the API it will normally be in this format.

{% hint style="info" %}
If an error is not in this format it is likely something has gone wrong on our end. We're setup to automatically catch `500` errors but if you think you can give us some more info feel free to email us at <support@tistraining.com>
{% endhint %}

{% tabs %}
{% tab title="Schema" %}

<table><thead><tr><th width="176">Name</th><th width="115">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>code</code></td><td><code>string</code></td><td>A code for the error. This should be used when trying to catch specific errors.</td></tr><tr><td><code>message</code></td><td><code>string</code></td><td>A human readable message that may help explain what went wrong.</td></tr><tr><td><code>details</code></td><td><code>dynamic</code></td><td>Further details about the error if applicable. This will change based on the type of error and sometimes may not be included.</td></tr></tbody></table>
{% endtab %}

{% tab title="Example" %}

```json
{
    "code": "EXAMPLE_CODE",
    "message": "Example Message",
    "details": null
}
```

{% endtab %}
{% endtabs %}
