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

# Troubleshooting

> Common errors and surprises, what causes each one, and what to do.

Each entry starts with what you see. The status codes are listed in full in [Failure behaviour](https://docs.navige.ai/reference/errors.md).

## Your key is refused

### `401` with `missing`

Navige found no key on the request. Send it in the `x-navige-key` header. On the LLM proxy the error comes back in the provider's own shape, with the message `Navige key missing`, so your SDK shows it as an API error.

### `401` with `invalid_key` on the LLM proxy

The usual cause is a Navige key in `Authorization`, or no `x-navige-key` at all. Without `x-navige-key`, Navige reads `Authorization` as its own key, finds your provider key there and refuses it. Keep your provider key where its SDK puts it and add `x-navige-key` beside it. See [Authentication](https://docs.navige.ai/reference/authentication.md).

### `401` with `invalid_key` elsewhere

The key is malformed, unknown or revoked. A key is shown once, at creation, and cannot be recovered. Create a new one in the console.

### `403` with `agent_inactive` or `agent_expired`

The key is valid, but the agent it names is inactive or past its expiry date. Check the agent in the console.

### A revoked key still works

Key lookups are cached for up to a minute, so a revoked key can be accepted for that long. After a minute it is refused.

## Calls are not showing up

### Claude Code worked yesterday and the dashboard has stopped filling up

The setup most likely used exported environment variables. They reach the CLI in one terminal only, not a second window, the desktop app or the same window the next day. Run `navige connect`, or put the `env` block in `~/.claude/settings.json`. See [Claude Code](https://docs.navige.ai/connect/claude-code.md).

### `404` from the proxy

The provider name in the path is not one Navige knows. Check it against the list in [LLM proxy](https://docs.navige.ai/connect/llm-proxy.md). Navige does not forward an unknown provider's request anywhere.

### Calls appear, but not as one task

Navige groups calls into a task by `x-navige-workflow` and `x-navige-transaction`. Send both on every call of the task. Both are cut to 200 characters, so two longer names that share their first 200 characters are recorded as one task. See [Transactions](https://docs.navige.ai/concepts/transactions.md).

## Decisions you did not expect

### A call a policy should have stopped was allowed

On Watchtower, or in shadow mode, a guardrail's verdict is recorded but not enforced. The answer is `allow` with `"enforced": false`, and `wouldHaveBeen` says what Navige would have answered. The kill switch and hard spend caps act on every tier. See [Watchtower and paid](https://docs.navige.ai/concepts/watchtower.md).

### `/enforce` answered `error`

Read `unavailable`. With `true`, Navige could not decide (`503`), and your own fail-open or fail-closed choice applies. Without it, your request is malformed (`400`). Do not handle either one as `deny`. See [Decision API](https://docs.navige.ai/connect/enforce.md#handling-them).

### `expired`

Nobody approved or rejected the call within five minutes. If your caller cannot hold a request open that long, send `"wait": false` and poll for the answer instead, as described in [Decision API](https://docs.navige.ai/connect/enforce.md#long-holds).

### `429` or `503` when a budget is involved

`429` means the budget was exceeded. `503` means the budget could not be checked and your organisation chose to refuse calls in that case. The switch is on the Budgets page.

## Costs and savings

### A call has token counts but no cost

Navige does not know the model's price, so the call is recorded `unpriced`, with its real token counts and no cost. It is never shown as zero, and Navige does not guess a price from a similar model. See [Where a saving comes from](https://docs.navige.ai/concepts/savings.md).

### Trimming, caching and the output ceiling do nothing for Claude Code

That is intended. Claude Code sends headers and body fields that only work together, so Navige never rewrites its requests. Model routing, measurement, budgets, the kill switch and the loop guard still apply. See [Claude Code](https://docs.navige.ai/connect/claude-code.md).

### A workflow estimate returns `"expected": null`

There are fewer than two priced tasks for that workflow in the last 30 days, so there is no range yet. Null here means no figure, not zero. See [Transactions](https://docs.navige.ai/concepts/transactions.md#what-a-task-will-cost-before-it-runs).

## Still stuck

Email [hello@navige.ai](mailto:hello@navige.ai) with the time of the call, the endpoint, and the status code and body you got back. Do not send your key.


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