REST API

Errores y límites de tasa

El formato de error, cada código de estado que puedes recibir y cómo funciona el límite de tasa.

11 oct 2026Lectura de 1 min

Every error uses the same JSON shape, so one handler covers them all.

{
  "error": {
    "code": "forbidden",
    "message": "this API key is missing the \"write\" scope"
  }
}

Códigos de estado

StatuscodeWhen
400validation_errorThe body or query failed validation. error.fields names each field
401unauthorizedThe key is missing, invalid, revoked or disabled
402plan_limitYour plan doesn't include this, or a plan limit was reached
403forbiddenThe key lacks the scope this endpoint needs
404not_foundThe resource doesn't exist in this workspace
429rate_limitedToo many requests from this key
500internal_errorSomething went wrong on our side. Retry with backoff

Límites de tasa

Each key can make 120 requests every 60 seconds, shared between the REST API and the MCP server. Responses include the standard RateLimit and RateLimit-Policy headers, so you can slow down before you hit the limit.

Buena práctica

  • Retry 429 and 5xx responses with exponential backoff. Don't retry 4xx errors other than 429.
  • Keep keys on your server. Never ship them in a browser or mobile app.
  • Use a separate key per app, so you can rotate or revoke one without breaking the others.
¿Te resultó útil?
Publica contenido alineado con tu marca en minutos

Contenido de IA, programación, interacción y un conjunto completo de marketing — gratis para empezar.

Empieza gratis
Volver a la documentación

Seguir leyendo

Ponlo en práctica en AeroReply

Todas las herramientas viven en la misma cuenta, desde el plan gratuito en adelante.

Pónlo en práctica

Empieza gratis: diseña, programa y haz crecer todo desde un solo espacio de trabajo.

  • Sin tarjeta de crédito
  • Configuración en 2 minutos
  • Cancela en cualquier momento