> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/analytics-api/products/reports/errors.md). Agents can also search and read this documentation through its [MCP server](https://navixy.com/docs/~gitbook/mcp).

# Reports API errors

The errors that only the Navixy Reports API returns: report data that can't be read, a report that is too large, and roles without report types.

This page lists the errors that only the Reports API returns, for developers who handle them in their app. The Reports API uses the error format and the common error codes of the Analytics API. See [Error handling](https://navixy.com/docs/analytics-api/error-handling.md#common-error-codes).

## Error codes of the Reports API

| HTTP status | Code                                         | When it occurs                                                                                                      | How to resolve                                                                                                                          |
| ----------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| 400         | `invalid_tool_call` with `size` in `details` | The report is too large for one report run. The run still counts.                                                   | Request the report for a shorter period or for fewer assets.                                                                            |
| 403         | `insufficient_rights`                        | The role gives access to Reports, but lacks its `reports-standard` feature, which gives access to the report types. | Ask your organization's administrator for a role that includes the report types of Reports.                                             |
| 503         | `report_source_unavailable`                  | Report data can't be read at the moment, or the list of assets is too large to read.                                | Repeat the request later. See [How to retry a request](https://navixy.com/docs/analytics-api/error-handling.md#how-to-retry-a-request). |
| 503         | `report_source_not_configured`               | Reports has no report data in this Navixy environment.                                                              | Contact Navixy support.                                                                                                                 |

The following error is a report that is too large for one run:

```json
{
  "code": "invalid_tool_call",
  "message": "The tool call cannot be run as it is.",
  "details": {
    "size": "more data than one run reads: a shorter period or fewer assets"
  }
}
```

### How to handle a report that is too large

Reports never returns part of a report. Request the summary for a shorter period, such as one week at a time, or for fewer assets. Then combine the results in your app. The run that was too large still counts. See [Daily limits](https://navixy.com/docs/analytics-api/limits.md#daily-limits).

## How to handle a role without report types

A role that lets you run no report type isn't refused with HTTP 403. The list of report types and assets has an empty `templates` list. The report summary and the links to reports return HTTP 400 with `invalid_tool_call`, and `details` has `report` set to `this user may run no report`. Ask your organization's administrator for a role that lets you run the report types that your app needs.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://navixy.com/docs/analytics-api/products/reports/errors.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
