> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/espanol/api-skyone-autosky/otras-informaciones/codigos-de-error.md).

# Códigos de error

En ciertos momentos, la llamada a la API puede retornar un mensaje de falla o de control.

A continuación se presentan los códigos de error y mensajes de retorno posibles para cada módulo.

## Ambientes

| **Código PDF** | **Mensaje PDF**                                    |
| -------------- | -------------------------------------------------- |
| ENV001         | Error al guardar los cambios                       |
| ENV002         | Error al registrar el mantenimiento programado     |
| ENV003         | Error al desactivar los mantenimientos programados |
| ENV004         | Error al registrar la visualización de avisos      |

## Clientes

| **Código PDF** | **Mensaje PDF**                                        |
| -------------- | ------------------------------------------------------ |
| CL1001         | Error al guardar el cliente en la base de datos        |
| CL1002         | Error al crear el grupo de seguridad en el AD          |
| CL1003         | Error al actualizar los permisos                       |
| CL1004         | Error al guardar los cambios                           |
| CL1005         | Error al eliminar el cliente: existen usuarios activos |
| CL1006         | Error al eliminar el grupo de seguridad del AD         |
| CL1007         | Nombre de cliente en uso                               |
| CL1008         | Error al registrar el mantenimiento programado         |
| CL1009         | Error al desactivar los mantenimientos programados     |
| CLI010         | Error al registrar la visualización de avisos          |

## Usuarios

| **Código PDF** | **Mensaje PDF**                                                                            |
| -------------- | ------------------------------------------------------------------------------------------ |
| USR001         | Error al cambiar/configurar la contraseña del usuario                                      |
| USR002         | Cliente no encontrado                                                                      |
| USR003         | Error al agregar al usuario al grupo                                                       |
| USR004         | Usuario ya agregado al cliente                                                             |
| USR005         | Error de comunicación con el AD                                                            |
| USR006         | Por favor informe un cliente (cli\_uuid)                                                   |
| USR007         | Error al guardar al usuario                                                                |
| USR008         | Error al eliminar al usuario de la DB                                                      |
| USR009         | Error al eliminar al usuario del AD                                                        |
| USR010         | Error al eliminar al usuario del cliente                                                   |
| USR011         | Error al agregar al usuario externo: Username obligatorio                                  |
| USR012         | Error al agregar al usuario externo: Password no es un parámetro permitido para AD externo |
| USR013         | Informe un usuario (usr\_uuid)                                                             |

## Aplicaciones

| **Código PDF** | **Mensaje PDF**                                    |
| -------------- | -------------------------------------------------- |
| APP001         | Cliente no encontrado                              |
| APP002         | Error al guardar la aplicación en la base de datos |
| APP003         | Aplicación no encontrada                           |
| APP004         | Error al eliminar la aplicación                    |

## Sesiones

| **Código PDF** | **Mensaje PDF**             |
| -------------- | --------------------------- |
| SES001         | Error al eliminar la sesión |


---

# 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.skyone.cloud/espanol/api-skyone-autosky/otras-informaciones/codigos-de-error.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.
