quota_exhausted
One of the error codes on Errors & Rate Limits.
The API returns quota_exhausted with HTTP status 402.
A plan limit or monthly allowance is used up (the code varies by endpoint), or the workspace's billing needs attention (billing_locked).
Reference
#Where the API reference mentions it
- Placement tests (Accounts)
- Per-lead enrichment and history (Campaigns)
- Quotas are not rate limits (Usage & limits)
Reference
#What the response looks like
{
"error": {
"code": "quota_exhausted",
"message": "...",
"details": null
}
}error.code is stable and safe to branch on. error.message is debugging context, not something to parse. The full list of codes, and the rate limits, are on Errors & Rate Limits.
Was this page helpful?