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

# API Troubleshooting

> Common causes of API errors and how to fix them

## 403 Forbidden

Include a `User-Agent` header on every API request; requests without one can be blocked with `403 Forbidden`.

## 401 Unauthorized

If you get `401 Unauthorized`, confirm your `Authorization` header is present and uses the `Bearer` prefix.

## 429 Too Many Requests

API requests are limited to **10 requests per minute per route**. If you exceed that limit, wait for the route window to reset before retrying.

Check the `Retry-After-public-api` header on the `429` response for the number of seconds to wait. You can also inspect `X-RateLimit-Remaining-public-api` and `X-RateLimit-Reset-public-api` on successful responses to monitor usage.
