> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/cli/es/ayuda/troubleshooting.md).

# Solución de problemas

Corrija los problemas de Devolutions CLI según lo que vea, errores de inicio de sesión, referencias que no se resuelven, comandos no admitidos y el proceso en segundo plano.

Encuentre abajo lo que ve. Cada página enumera las causas, primero las más frecuentes, y cómo corregirlas.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>El inicio de sesión falla o la sesión ha caducado</strong></td><td><code>devo login</code> falla, o un comando que ayer funcionaba le pide que vuelva a iniciar sesión.</td><td><a href="/cli/es/ayuda/troubleshooting/sign-in-fails.md">El inicio de sesión falla o la sesión ha caducado</a></td></tr><tr><td><strong>Una referencia de secreto no se resuelve</strong></td><td><code>invalidSecretReference</code>, una entrada o un campo que no se encuentra, o una referencia que apunta a otro espacio de trabajo.</td><td><a href="/cli/es/ayuda/troubleshooting/reference-does-not-resolve.md">Una referencia de secreto no se resuelve</a></td></tr><tr><td><strong>Un comando indica que el espacio de trabajo no lo admite</strong></td><td><code>operationNotSupportedBySource</code>, o un comando solo para Devolutions Cloud o Devolutions Server.</td><td><a href="/cli/es/ayuda/troubleshooting/not-supported.md">Un comando indica que el espacio de trabajo no lo admite</a></td></tr><tr><td><strong>El proceso en segundo plano no se inicia</strong></td><td><code>daemonUnavailable</code>, <code>daemonTimeout</code>, o un comando que se queda colgado antes de hacer nada.</td><td><a href="/cli/es/ayuda/troubleshooting/daemon-wont-start.md">El proceso en segundo plano no se inicia</a></td></tr></tbody></table>

¿Tiene en cambio una pregunta rápida? Consulte las [preguntas frecuentes](/cli/es/ayuda/troubleshooting/faq.md).

## Lea primero el error

Cada error tiene un **código** y un **mensaje**. En un terminal, Devolutions CLI los escribe en una sola línea, por ejemplo:

```
confirmationRequired: Pass --yes to delete the entry.
```

El código es estable, así que es lo que busca en esta documentación o comprueba en un script. Con `--output json`, el error llega como un documento JSON, con el código y el mensaje en su lista `errors`. Consulte [Leer los resultados como JSON](/cli/es/para-devops-y-administradores/automate/json-output.md).

El código de salida también indica qué tipo de problema es:

<table><thead><tr><th width="160">CÓDIGO DE SALIDA</th><th>SIGNIFICADO</th></tr></thead><tbody><tr><td><code>2</code></td><td>La línea de comandos se rechazó antes de que ocurriera nada: una errata, una opción ausente o un cambio sin <code>--yes</code>.</td></tr><tr><td><code>1</code></td><td>El comando se ejecutó, pero falló, por ejemplo porque el espacio de trabajo seleccionado no lo admite.</td></tr><tr><td><code>3</code></td><td>El proceso en segundo plano o el espacio de trabajo no pudo completar la solicitud.</td></tr><tr><td><code>4</code></td><td>No se encontró una bóveda, una entrada, un usuario o un grupo.</td></tr><tr><td><code>130</code></td><td>Interrumpió el comando.</td></tr></tbody></table>

La lista completa está en [Códigos de salida y errores](/cli/es/referencia/exit-codes-and-errors.md).

## ¿Sigue atascado?

[Recopile diagnósticos](/cli/es/ayuda/troubleshooting/collect-diagnostics.md) y contacte con el [soporte de Devolutions](https://devolutions.net/support/).


---

# 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.devolutions.net/cli/es/ayuda/troubleshooting.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.
