Skip to content

Spend limit reached

What the spend_limit_reached error from the Perafly API means and what to do about it.

On this page
Code
spend_limit_reached
HTTP status
402

What it means

The team's spend limit for this period is reached, so new builds (publishes) and agent sessions are paused. Live sites keep serving and nothing above the limit is billed.

A typical detail: The team's spend limit is reached, so new builds are paused. Live sites keep running. A team admin can raise the limit in Perafly.

What to do

A team owner or admin can raise the spend limit in the dashboard under Billing, or wait for the next period (periodEnd).

Read more: Billing and plans

Example response

This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.

{
  "type": "https://perafly.com/docs/errors/spend_limit_reached",
  "title": "Spend limit reached",
  "status": 402,
  "code": "spend_limit_reached",
  "detail": "The team's spend limit is reached, so new builds are paused. Live sites keep running. A team admin can raise the limit in Perafly.",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes