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

# Troubleshooting

> Fix common Reposeek CLI and API issues.

# Troubleshooting

## `missing_api_key`

Set your API key:

```bash theme={null}
export REPOSEEK_API_KEY="replace-me"
```

For HTTP calls, send:

```http theme={null}
Authorization: Bearer <api-key>
```

## `invalid_api_key`

The key is unknown, revoked, inactive, or attached to an account state that cannot use API access. Create, regenerate, or revoke keys at [reposeek.ai/dashboard/api-keys](https://reposeek.ai/dashboard/api-keys).

## `validation_error`

Check that:

* JSON is valid,
* `query` is present,
* `query` is not blank,
* `query` is at most 1024 characters,
* `query` contains at least one searchable letter/digit token,
* `limit` is an integer from `1` to `10`,
* there are no unknown fields.

## `rate_limit_exceeded`

You sent too many requests in the current rate window. Retry later or reduce concurrency.

## `quota_exceeded`

Your search quota is exhausted. Check [usage](/account/usage) and [billing](/account/billing).

## Provider unavailable

`embedding_unavailable` and `reranker_unavailable` are temporary provider failures. Retry with backoff.

## Weak results

Refine the query with more stack, product category, and integration constraints. See [Query tips](/search/tips).
