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

# Introduction

> Machine and human readable error codes

The Unprice API returns machine readable error codes to quickly identify the type of error as well as link to the docs and a `requestId`. Please always include the `requestId` in your error report.

```json theme={null}
{
  error: {
    code: "UNAUTHORIZED",
    message: "We were unable to authorize your request. Either your key was missing, malformed or does not have the required permissions.",
    docs: "https://docs.unprice.dev/api-reference/errors/code/BAD_REQUEST",
    requestId: "req_1234567890"
  }
}

```

If you can't debug something on your own or think there is a bug, please get in touch with us on [Discord](https://unprice.dev/discord) or [Email](mailto:seb@unprice.dev) and provide the full error response.
