Skip to content

playground.estimate_required

HTTP 422 Estimate first

A live playground unlock came without max_credits. Live runs in the playground show the estimate first and cap the charge at it.

Run the estimate, then unlock with max_credits set to the estimated credits. The portal does this for you when you confirm.

Sending the same request again gives the same answer until the cause is fixed.

  • HTTP status: 422 Unprocessable Content
  • Where you can meet it: Customer API (/v1)
  • Code: playground.estimate_required (stable: match on the code, not on the title or detail text)
{
"type": "https://docs.zemodata.com/errors/playground.estimate_required",
"title": "Estimate first",
"status": 422,
"code": "playground.estimate_required",
"detail": "…",
"request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
"errors": []
}

See Errors for how problem responses work, and all error codes.