Açıklamalar İngilizce
403 — access denied
Ne oldu
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.
Neden
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.
Şimdi ne yapmalı
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.
Sırada hangi istek gönderilmeli
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.
Sonra nereye gitmeli
Yapay zekâ için bu sayfa
API sürümü 1.0.0