Back to the API reference

API problem type

Cost exceeds limit

Code
cost_exceeds_limit
Type URI
https://industrydojo.com/developers/problems/cost-exceeds-limit
HTTP status
402

Errors use RFC 9457 problem details (application/problem+json). Branch on the code, never on the title or detail text.

Example from the contract

Contract example 1 (original API response)
{
  "type": "https://industrydojo.com/developers/problems/cost-exceeds-limit",
  "title": "Cost exceeds limit",
  "status": 402,
  "code": "cost_exceeds_limit",
  "detail": "The request costs more than the IndustryDojo-Max-Credits header allows. Nothing ran or was charged.",
  "request_id": "req_01JBEXAMPLE402C",
  "required": 5,
  "pricing_version": "2026-10-29.1"
}