Problem type

Eligible credits are insufficient

HTTP 402 ยท insufficient_credits

What it means

The API answers with HTTP 402 Payment Required and the application/problem+json document below when the condition is Eligible credits are insufficient. The document's type member is https://screenrig.ai/problems/insufficient-credits, the address of this page, and its code member is insufficient_credits.

What to do

The project's eligible credit does not cover this spend. Check the balance and source eligibility (screenrig billing balance), then reduce the spend.

Should you retry?

The retryable member appears only on HTTP 5xx problems, so this one has none. Follow the steps under What to do before sending the request again.

Example response

Most routes answer with the error in the first entry of errors, and the document members instance and request_id beside it. The type, code, title and status of this problem type are fixed; detail varies per request, and hint is the registry default unless the handler sets a more specific one.

http
HTTP/1.1 402 Payment Required
Content-Type: application/problem+json

{
  "errors": [
    {
      "status": 402,
      "code": "insufficient_credits",
      "type": "https://screenrig.ai/problems/insufficient-credits",
      "title": "Eligible credits are insufficient",
      "detail": "What went wrong in this request.",
      "hint": "The project's eligible credit does not cover this spend. Check the balance and source eligibility (screenrig billing balance), then reduce the spend."
    }
  ],
  "instance": "INSTANCE",
  "request_id": "REQUEST_ID",
  "server_time": "2026-01-01T00:00:00Z"
}

Player action

This problem defines no Player action class. It belongs to a project, pairing or account flow that an agent or the dashboard drives.

Reference

Codeinsufficient_credits
HTTP status402 Payment Required
Typehttps://screenrig.ai/problems/insufficient-credits
Player actionnone