Errores y límites de uso
Un solo envoltorio, códigos estables, cabeceras honestas. Compara con code, nunca con message.
El envoltorio de error
Toda respuesta fuera de 2xx tiene esta forma. code es estable y se puede comparar por máquina; message nombra el campo o el conflicto exacto; doc_url enlaza directamente de vuelta a esta página.
Códigos de error
La lista completa. Los códigos solo se añaden — ninguno cambiará nunca de significado.
validation_failed · 400A field is missing or malformed — message names the field.invalid_key · 401Key missing, malformed, or revoked.scope_denied · 403The key exists but lacks the scope for this call.plan_upgrade_required · 403The call needs a higher plan — e.g. routing rules on Free.plan_limit_reached · 403A plan limit, such as active links or custom domains, is used up.not_found · 404No such id in this workspace.slug_taken · 409Also domain_in_use when deleting a host that still carries links.link_claimed · 409An anonymous shared link was already claimed or shut down.busy_try_again · 409Someone is changing the same domain right now (for example its www twin). Retry in a few seconds.companion_changed · 409The domain’s www twin changed while you deleted it. Fetch the domain again and retry.link_expired · 410The link passed its expires_at.rule_invalid · 422A routing rule references an unknown condition or malformed target.destination_unsafe · 422The destination URL is flagged as malware or phishing, or is on our blocklist. Every destination is checked when a link is created or updated.rate_limited · 429Budget exhausted — honor Retry-After.destination_check_unavailable · 503The destination could not be checked right now, so a link on a rii.link domain was not created. Retry after Retry-After.Límites de uso
Por clave, en ventana móvil — 60 peticiones por minuto en Free, 600 en Premium, a medida en Enterprise. El presupuesto viaja en cada respuesta; los 429 añaden Retry-After. La importación masiva es la razón por la que el pipeline de CSV está en la hoja de ruta — hasta que llegue, dosifica las escrituras.
LAS CABECERAS VAN EN CADA RESPUESTA, NO SOLO EN LOS 429 — EL PRESUPUESTO SIEMPRE ESTÁ A LA VISTA