> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Lista de errores del Gestor de licencias

> Consulta cada código, título y mensaje de error del Gestor de licencias para diagnosticar fallos de autorización en plugins de pago de Lerian.

Los errores de validación de licencia ocurren cuando se usa un plugin de pago sin la autorización adecuada. El sistema verifica la variable configurada en el archivo para asegurar que solo las organizaciones con un contrato activo puedan acceder a las funciones con licencia.

Este mecanismo ayuda a prevenir el uso no autorizado de plugins de pago, como casos donde no existe un acuerdo activo.

### Formato de error

<CodeGroup>
  ```bash JSON theme={null}
  {
     "code": "<error_code>",
     "title": "<error_title>",
     "message": "<error_message>"
  }
  ```
</CodeGroup>

### Definiciones de campos

* **`code`** -- Un identificador único y estable para el error. Útil para manejo programático y solicitudes de soporte.
* **`title`** -- Un resumen corto y legible del problema.
* **`message`** -- Orientación detallada para ayudarte a resolver el error.

Esta estructura asegura que siempre obtengas retroalimentación útil cuando algo no sale como se esperaba.

## Errores del Gestor de licencias

***

Consulta la tabla a continuación para obtener una lista de códigos de error posibles, sus significados e instrucciones sobre cómo resolverlos.

| `code`   | `title`                                      | `message`                                                                                                                                                                                                                                        |
| :------- | :------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| LCS-0001 | Internal server error                        | An internal server error occurred. Please try again later or contact support if the problem persists.                                                                                                                                            |
| LCS-0002 | No organization IDs configured               | The application is not configured with any organization IDs.                                                                                                                                                                                     |
| LCS-0003 | No valid licenses found for any organization | No valid licenses were found for any of the configured organizations. Please check your license keys and ensure at least one organization has a valid license.                                                                                   |
| LCS-0010 | Organization ID header is missing            | The X-Organization-ID header is missing. Please ensure the header is included in the request.                                                                                                                                                    |
| LCS-0011 | Organization ID header is unknown            | The organization ID '12345' was not found in the list of configured organizations. Please verify you are using a valid organization ID.                                                                                                          |
| LCS-0012 | Failed to validate organization license      | License validation failed for organization ID 12345. This could be due to network issues, invalid license keys, or server-side problems. Please verify your license key is correct and that you have network connectivity to the license server. |
| LCS-0013 | Organization license is invalid              | The license for organization ID '12345' is not valid and has no grace period active. Please renew your license or contact support for assistance.                                                                                                |
| LCS-1001 | Validation error                             | Could not validate license key. Please try again later or contact your system administrator.                                                                                                                                                     |
| LCS-1002 | License not found                            | There is no license for this license key.                                                                                                                                                                                                        |
| LCS-1003 | License expired                              | The license key has expired.                                                                                                                                                                                                                     |
| LCS-1004 | License suspended                            | The license key has been suspended due to payment issues or administrative action.                                                                                                                                                               |
| LCS-1005 | Fingerprint mismatch                         | The license key or organization ID are not valid for this license.                                                                                                                                                                               |
| LCS-1006 | Product mismatch                             | There is no license for this product.                                                                                                                                                                                                            |
