Saltar al contenido
Lumean

Descripciones en inglés

La interfaz de la sección está traducida a su idioma, pero las descripciones de operaciones, esquemas y errores solo existen en ruso y en inglés: aquí se muestra la versión en inglés.

403 — access denied

403sin Retry-After

Qué pasó

The key was accepted, but the action is not allowed. When the key lacks the required scope, the body is {"success": false, "message": "This API key does not have permission to perform this action.", "data": null}. A request for another account's resource also returns 403, but with a different message, for example This action is unauthorized. for another account's order.

Por qué

The key may lack the scope for the operation. Downloads require orders.download, voice catalogs require voices.read, and the profile requires profile.read. The resource may belong to another account. Ownership is checked after the key scopes. It may also be a domain refusal of the order: no_subscription, entitlement_missing, or template_access_denied. These responses have a reason in the body.

Qué hacer ahora mismo

First check whether the body has a reason. If it does, this is a domain refusal, not a missing key scope. If there is no reason, compare the scope the operation requires with the scopes granted to the key. The automation preset does not include templates.write, so POST /templates with such a key returns 403.

Qué solicitud enviar a continuación

GET /key returns the key's scopes in permissions and needs no scope itself. Compare the list with the scope the operation requires: if it is missing, the key was not granted it.

Esta página para IA

Abrir .mdllm.md

versión de la API 1.0.0