contribuyentes_unavailable
The SII nómina of personas jurídicas has not been loaded yet, so no RUT can be looked up.
The SII nómina of personas jurídicas has not been loaded yet, so no RUT can be looked up.
| Code | contribuyentes_unavailable |
| Type | api_error — Our fault |
| HTTP | 503 |
| Retriable? | Yes |
What to do
Retry after Retry-After. Meanwhile ask the person for the razón social and giro, or use what GET /v1/empresas/\{id\}/counterparties/\{rut\} already has on file.
Retrying the same request may work. Respect Retry-After when it comes.
The envelope
{
"error": {
"type": "api_error",
"code": "contribuyentes_unavailable",
"message": "…",
"hint": "Retry after `Retry-After`. Meanwhile ask the person for the razón social and giro, or use what `GET /v1/empresas/{id}/counterparties/{rut}` already has on file.",
"retriable": true,
"doc_url": "https://docs.facturia.cl/errors/contribuyentes_unavailable",
"request_id": "req_01K2R7Q9M4T2VB"
}
}Program against code, never against message — the prose can be rewritten, the code cannot (§5.8).
hint and retriable arrive in the response with these exact values: they are a function of code and come from the same dictionary GET /v1/error_codes serves, so the envelope and the dictionary cannot disagree. Both are English on the wire by design — one registry, one language. More in The error envelope.
See also
Every code
The error envelope
The machine-readable copy of this page lives at GET /v1/error_codes, unauthenticated.