Out of credits
The API answers 402 Payment Required with this problem. Its type is https://lingo.dev/docs/api/errors/credit-limit-reached. See Errors and status codes for the shape every error shares.
Organization <organizationId> has run out of credits. Top up the balance or enable automatic top-ups to continue.
Fields#
Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.
| Field | Type |
|---|---|
organizationId | string |
Example#
json
{
"detail": "Organization <organizationId> has run out of credits. Top up the balance or enable automatic top-ups to continue.",
"organizationId": "<organizationId>",
"type": "https://lingo.dev/docs/api/errors/credit-limit-reached",
"status": 402,
"title": "Out of credits"
}Returned by#
POST /v2/engines/{engineId}/provisioning/jobsPOST /v2/localization/jobs/{id}/startPOST /v2/organizations/{orgId}/provisioning/jobsPOST /v2/provisioning/jobs/{id}/retry