spending_not_authorized
Spending not set up. This API key or app has no spending limit that covers this model and project.
| HTTP status | 403 |
| Type | permission_error |
| Code | spending_not_authorized |
| 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”Ask the account owner to allow spending for this credential at manage_url. Nothing was charged.
Example
Section titled “Example”{ "error": { "type": "permission_error", "code": "spending_not_authorized", "message": "This API key or app has no spending limit that covers this model and project.", "param": null, "doc_url": "https://docs.halationlab.ai/errors/spending-not-authorized/", "request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T", "manage_url": "https://app.halationlab.ai/…" }}Returned by
Section titled “Returned by”POST /v1/generations: Start a generation
See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.