---
updatedAt: 2025-12-05T16:50:12.000Z
agentTools:
  projectIndex: https://developer.alanube.co/llms.txt
---

# DGII

### Códigos de error relacionados con validación de DGII

| Código    | Clave                                    | Mensaje (EN)                                                              | httpStatusCode |
| --------- | ---------------------------------------- | ------------------------------------------------------------------------- | -------------- |
| `AEP2003` | `DGII_AUTHENTICATION_ERROR`              | An error has occured while trying to authenticate with DGII               | 400            |
| `AEP2009` | `DGII_BAD_REQUEST_ERROR`                 | The DGII service returned a Bad Request error                             | 400            |
| `AEP2005` | `DGII_CONNRESET_ERROR`                   | The connection was unexpectedly closed during the communication with DGII | 502            |
| `AEP2002` | `DGII_ENVIRONMENT_NOT_SUPPORTED`         | The environment given is not supported                                    | 404            |
| `AEP2004` | `DGII_GENERAL_ERROR`                     | An error has occured while trying to communicate with DGII                | 502            |
| `AEP2012` | `DGII_HOST_UNREACHABLE_ERROR`            | The DGII host is unreachable                                              | 502            |
| `AEP2013` | `DGII_LEAF_SIGNATURE_VERIFICATION_ERROR` | The DGII leaf signature verification failed                               | 502            |
| `AEP2008` | `DGII_NOT_FOUND_ERROR`                   | The DGII service returned a Not Found error.                              | 404            |
| `AEP2011` | `DGII_PARSE_ERROR`                       | The DGII service returned a parsing error. Expected HTTP response format  | 502            |
| `AEP2007` | `DGII_SERVICE_UNAVAILABLE_ERROR`         | The DGII service is unavailable                                           | 504            |
| `AEP2006` | `DGII_TIMEOUT_ERROR`                     | The connection with DGII has timed out                                    | 504            |
| `AEP2010` | `DGII_UNAUTHORIZED_ERROR`                | The DGII service returned an Unauthorized error                           | 401            |
| `AEP2001` | `DGII_VALUE_NOT_FOUND`                   | The key of value for the DGII doesn't exist                               | 404            |