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

# Error Codes

> List of error codes that you may encounter when using the API

Below is a list of error codes that you may encounter when using the API. If you encounter an error code that is not listed here, please reach out to us directly at [support](mailto:support@vlm.run).

| Error Code                  | Description                                                                                                | Solution                                                            |
| --------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| 400 - Bad Request           | The request was invalid or cannot be processed                                                             | Check the request and try again                                     |
| 401 - Unauthorized          | The request requires user authentication                                                                   | Check the API key `X-Api-Key` and try again                         |
| 402 - Payment Required      | The account associated with the API key has consumed all available credits.                                | Adjust your billing settings or make a payment to resume service.   |
| 403 - Forbidden             | The server understood the request, but is refusing to fulfill it                                           | Check the API key `X-Api-Key` and try again                         |
| 404 - Not Found             | The requested resource could not be found                                                                  | Check the request and try again                                     |
| 429 - Too Many Requests     | The user has sent too many requests in a given amount of time                                              | Wait for a while and try again (see [Rate Limits](rate-limits.mdx)) |
| 500 - Internal Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request               | Contact [support](mailto:support@vlm.run)                           |
| 504 - Gateway Timeout       | The server was acting as a gateway or proxy and did not receive a timely response from the upstream server | Wait for a while and try again                                      |
