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

# Common Errors

> Explains what to do when you encounter errors from the API

<Note>This section provides guidance on how to troubleshoot common issues when using the API.</Note>

### 400 Bad Request

This error occurs when you provide parameters (body, or query) that are not supported.

The reaponse body will contain details about the issue.

### 401 Unauthorized

This error occurs when the API key is missing or invalid. To resolve this error, ensure that you have provided the correct API key in the request headers.

The reaponse body will contain the following:

```json theme={null}
{
  "error": "Invalid API key"
}
```

### 403 Forbidden

This error occurs when you request a resource that you do not have access to. To resolve this error, ensure that your subscription includes this resource.

The reaponse body will contain the following:

```json theme={null}
{
  "error": "Not included in your subscription"
}
```

### 404 Not Found

This error occurs when you request a resource that does not exist.

The reaponse body will contain the following:

```json theme={null}
{
  "error": "<Resource> not found"
}
```

### 429 Limit Exceeded

When using an API your account is limited to a certain number of requests depending on your subscription.

To resolve this error, you can either wait for the limit to reset or upgrade your subscription.

The reaponse body will contain the following:

```json theme={null}
{
  "error": "Rate limit exceeded"
}
```

### 500 Internal Server Error

This error occurs when there is an issue with the server. If you have received this error, please contact support immediately. We constantly monitor our servers and will resolve the issue as soon as possible, but sometimes the error you encounter may be due to a temporary issue or we are not aware of if at the moment.

<Warning>Internal Server Errors do not count towards your usage limits</Warning>

The reaponse body will contain the following:

```json theme={null}
{
  "error": "Internal Server Error"
}
```
