insufficient_scope
Missing permission. This credential does not have the permission this request needs.
| HTTP status | 403 |
| Type | permission_error |
| Code | insufficient_scope |
| Can retrying help? | No. The same request gets the same answer until you change it or fix the cause. |
| Charged? | No. This refusal is free. |
What to do
Section titled “What to do”Use an API key with this permission, or ask the user to grant the scope named in details.required_scopes.
Example
Section titled “Example”{ "error": { "type": "permission_error", "code": "insufficient_scope", "message": "This credential does not have the permission this request needs.", "param": null, "doc_url": "https://docs.halationlab.ai/errors/insufficient-scope/", "request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T", "details": { "required_scopes": [ "generate" ] } }}See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.