> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/transit-classic/es/referencia-de-la-api/descripcion-general-de-la-api/gestion-de-errores.md).

# Gestión de errores

La tabla a continuación enumera los diferentes códigos de error que se usan en la API TES.

| Código de estado | Descripción                                                                                                                                          | Reintentable |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| 111              | Falta parámetro obligatorio                                                                                                                          | N            |
| 112              | Formato de parámetro incorrecto                                                                                                                      | N            |
| 113              | Emisor desconocido                                                                                                                                   | N            |
| 116              | Cuenta de tarjeta desconocida                                                                                                                        | N            |
| 117              | Dispositivo desconocido                                                                                                                              | N            |
| 118              | Sesión desconocida                                                                                                                                   | N            |
| 119              | Tarjeta virtual desconocida                                                                                                                          | N            |
| 120              | Compra desconocida                                                                                                                                   | N            |
| 121              | Solicitud desconocida                                                                                                                                | N            |
| 159              | La tarjeta está en la lista negra                                                                                                                    | N            |
| 160              | La tarjeta está eliminada                                                                                                                            | N            |
| 162              | La tarjeta no tiene saldo suficiente                                                                                                                 | N            |
| 163              | Producto de la tarjeta no elegible                                                                                                                   | N            |
| 164              | Se superó el conteo de aprovisionamientos                                                                                                            | N            |
| 166              | Información de tarjeta no válida                                                                                                                     | N            |
| 167              | La tarjeta ya está aprovisionada                                                                                                                     | N            |
| 170              | Solicitud de aprovisionamiento rechazada                                                                                                             | N            |
| 171              | <p>Incompatibilidad de cuenta de billetera.<br>La cuenta de la billetera ya está asociada<br>con una tarjeta bajo un nombre de cliente diferente</p> | N            |
| 172              | Tarjeta inválida, código de sistema no compatible                                                                                                    | N            |
| 173              | Tarjeta inválida, servicio no compatible                                                                                                             | N            |
| 177              | Tarjeta inválida, datos de área no válidos                                                                                                           | N            |
| 178              | Tarjeta inválida, el estado de la tarjeta es en estación                                                                                             | N            |
| 191              | La tarjeta ha expirado                                                                                                                               | N            |
| 192              | Intentos en modo lector excedieron el umbral permitido                                                                                               | N            |
| 221              | Dispositivo o servidor de billetera no accesible                                                                                                     | Y            |
| 231              | Error inesperado del dispositivo                                                                                                                     | N            |
| 232              | Error de memoria insuficiente del dispositivo                                                                                                        | N            |
| 321              | Operación ya en curso para este dispositivo                                                                                                          | Y            |
| 322              | Tiempo de vida de la operación expirado                                                                                                              | Y            |
| 323              | Operación incompleta                                                                                                                                 | N            |
| 419              | PIN requerido                                                                                                                                        | N            |
| 420              | PIN incorrecto                                                                                                                                       | N            |
| 421              | PIN bloqueado                                                                                                                                        | N            |
| 432              | La operación no está permitida con el estado actual de la tarjeta                                                                                    | N            |
| 911              | La operación falló                                                                                                                                   | N            |
| 921              | Error inesperado del servidor                                                                                                                        | Y            |

Además de eso, todas las solicitudes que resulten en un código HTTP 5xx se consideran reintentables.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.payments.thalescloud.io/transit-classic/es/referencia-de-la-api/descripcion-general-de-la-api/gestion-de-errores.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
