Zum Inhalt
Lumean

Beschreibungen auf Englisch

Die Oberfläche des Bereichs ist in Ihre Sprache übersetzt, Beschreibungen von Operationen, Schemata und Fehlern gibt es aber nur auf Russisch und Englisch — hier wird die englische Fassung angezeigt.

403 — access denied

403kein Retry-After

Was passiert ist

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.

Warum

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.

Was jetzt zu tun ist

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.

Welche Anfrage als Nächstes

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.

Diese Seite für KI

.md öffnenllm.md

API-Version 1.0.0