> ## 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.

## Error Response

<Tabs>
  <Tab title="Template">
    ```json theme={"system"}
    [
      {
        "code": string,
        "location": string,
        "message": string,
        "debug_uuid": string
      }
    ]
    ```
  </Tab>

  <Tab title="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>

  <Tab title="Options">
    <ParamField body="code" type="string">
      Error code
    </ParamField>

    <ParamField body="location" type="string">
      Where the error occurred
    </ParamField>

    <ParamField body="message" type="string">
      Message describing why error occured
    </ParamField>

    <ParamField body="uuid" type="string">
      UUID identifying error
    </ParamField>
  </Tab>
</Tabs>
