> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sezzle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

Endpoints will return an array of standardized error objects on failures.

We attempt to keep these errors as consistent as possible, and will announce any changes in advance if they are required.

> [!TIP]
>
> **Building with an AI agent?** The [`sezzle-troubleshoot`](https://docs.sezzle.com/.well-known/skills/sezzle-troubleshoot/skill.md) skill gives your agent a step-by-step procedure for this task. [Install it](https://docs.sezzle.com/docs/guides/building-with-ai.md#install-skills) in one command.

## Error Response

> [tab] Template
>
> ```json theme={"system"}
> [
>   {
>     "code": string,
>     "location": string,
>     "message": string,
>     "debug_uuid": string
>   }
> ]
> ```

> [tab] Example
>
> ```json theme={"system"}
> [
>   {
>     "code": "invalid",
>     "location": "order.amount.amount_in_cents",
>     "message": "Order amount must be greater than $35",
>     "debug_uuid": "919f40d0-874b-4d98-810d-ed2246a8ad77"
>   }
> ]
> ```

> [tab] Options
>
> **code** `string`
>
> Error code
>
> **location** `string`
>
> Where the error occurred
>
> **message** `string`
>
> Message describing why error occured
>
> **uuid** `string`
>
> UUID identifying error


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.