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

# 4.8 Error responses

> Error responses for ReportGeneratorTool.

/v1 errors use a consistent envelope:

```json theme={null}
{"error":{"code":"validation_error","message":"The request contains invalid fields.","requestId":"req_example_001","details":[{"field":"toDate","message":"Must be later than fromDate."}]}}
```

| Status | Meaning |
| - | - |
| 400 | Invalid JSON, query or cursor |
| 401 | Missing or invalid API key |
| 403 | Insufficient permission |
| 404 | Resource not found in this workspace |
| 409 | Invalid state or idempotency conflict |
| 410 | Report expired |
| 413 | Body exceeds 256 KiB |
| 415 | Unsupported content type |
| 422 | Semantic validation failed |
| 429 | Rate or concurrency limit |
| 500 | Unexpected failure |
| 503 | Temporary dependency failure |

X-Request-Id identifies the response and appears in the error body. Retry-After gives the wait in seconds for 429 and 503. Retry job creation or delivery with the same idempotency key and unchanged body.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.