unauthorized
Missing or invalid API key
- HTTP
- 401
- Reintentar
- —
- Facturado
- No
Qué significa
La petición no lleva clave de API, o la clave es incorrecta, está revocada o ha caducado.
Cómo solucionarlo
Envía una clave válida en la cabecera x-api-key (o Authorization: Bearer). Crea o renueva claves en data.retailed.io, en la sección Claves de API.
Reintentar: No. Cambia antes la petición.
Ejemplo
{
"type": "https://www.retailed.io/datasources/docs/errors/unauthorized",
"title": "Missing or invalid API key",
"status": 401,
"requestId": "req_…",
"detail": "…"
}Todos los tipos de error
| Tipo | Estado | Título |
|---|---|---|
| forbidden | 403 | This key may not call this endpoint |
| out-of-credits | 402 | Out of credits |
| unknown-endpoint | 404 | Unknown endpoint |
| product-not-found | 404 | Product not found |
| invalid-request | 422 | Invalid request |
| not-a-product | 422 | The page is not a product |
| conflict | 409 | Conflict |
| rate-limited | 429 | Too many requests |
| not-implemented | 501 | Not implemented |
| upstream-failed | 502 | We couldn't fetch this page right now |
| circuit-open | 503 | Site temporarily unavailable |
| internal | 500 | Internal error |
| status-unavailable | 503 | Status unavailable |
| catalogue-unavailable | 503 | Endpoint list unavailable |
| not-found | 404 | Not found |