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

# Falta la clave

> Código missing_api_key · HTTP 401

**Código:** `missing_api_key` · **Estado HTTP:** `401`

## Qué significa

Manda tu clave en el header Authorization: Bearer crq\_live\_… o crq\_test\_….

## Qué hacer

Manda la clave en cada pedido, en el header `Authorization: Bearer <tu clave>`. Revisa que tu código o tu herramienta no pierda el header en una redirección.

## Ejemplo

```json theme={null}
{
  "type": "https://docs.craqui.com/errors/missing_api_key",
  "title": "Falta la clave",
  "status": 401,
  "code": "missing_api_key",
  "detail": "Manda tu clave en el header Authorization: Bearer crq_live_… o crq_test_….",
  "request_id": "req_01hzx8m4k2a7d9q3f5w6y8z0bc",
  "doc_url": "https://docs.craqui.com/errors/missing_api_key"
}
```

Todos los errores tienen esta forma. Programa contra `code`, que no cambia; `title` y `detail` son para una
persona y pueden cambiar de redacción. Lee [Errores](https://docs.craqui.com/errors.md).


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