credits.insufficient
HTTP 402 Not enough credits
When it happens
Section titled “When it happens”The request costs more credits than the organization has available (reserved credits don’t count).
What to do
Section titled “What to do”Buy a credit pack or change plans in the portal (Billing), or ask for fewer records or bundles. POST /v1/estimate tells you the cost first, free.
Sending the same request again gives the same answer until the cause is fixed.
Details
Section titled “Details”- HTTP status: 402 Payment Required
- Where you can meet it: Customer API (
/v1) - Code:
credits.insufficient(stable: match on the code, not on the title or detail text)
Example response
Section titled “Example response”{ "type": "https://docs.zemodata.com/errors/credits.insufficient", "title": "Not enough credits", "status": 402, "code": "credits.insufficient", "detail": "…", "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S", "errors": []}See Errors for how problem responses work, and all error codes.