# Get order errors

```
GET /Errors/GetOrderErrors?orderID=UUID
```

Returns the list of errors recorded against a specific order. Use this to diagnose any order that has transitioned to `Failed`.

{% hint style="info" %}
This is the only endpoint in v1.0 that uses the `GET` verb.
{% endhint %}

## Query parameters

| Name      | Type          | Required | Description                                  |
| --------- | ------------- | -------- | -------------------------------------------- |
| `orderID` | string (UUID) | yes      | Nexterpay order ID from the create response. |

## Example

```bash
curl "https://api-sandbox.nexterpay.io/Errors/GetOrderErrors?orderID=c9a1f8e0-4b3c-4b9e-8a2d-5e6f7a8b9c0d" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

```json
[
  {
    "code": "INSUFFICIENT_FUNDS",
    "message": "The customer's Mobile Money wallet has insufficient balance.",
    "timestamp": "2026-04-23T10:16:05Z"
  }
]
```


---

# Agent Instructions: 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.nexterpay.io/errors-order-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.
