Skip to main content

What happened

Token spend limit exceeded. For example: This request would exceed the key’s monthly limit on the minutes pool.

What to do

Stop until resets_at, or ask the user to raise this key’s monthly limit in Settings -> API keys. fix_request: change the request or its inputs; sent unchanged it fails again. none: do not retry the request unchanged.

Example

Inside a job

It also appears inside a job, as Job.error or Job.stages[].error, on jobs of type localization. Wait for the key’s limit to reset or ask the user to raise it, then call resumeJob with the total_minutes of estimateLocalization.

Operations that return it