Skip to Content
Peak Solutions

Error codes

Every error_code the API can return, and what to do about it.

Every failed response has an error_code, along with an error message:

{
  "success": false,
  "error": "IP address is blocked by CloudFlare - use a different proxy with cleaner reputation",
  "error_code": "ip_blocked"
}

Check error_code in your code. It stays the same, while the error wording can change.

None of these are charged.

Rejected requests

The request was turned down before any solving, with a 4xx or 5xx status.

error_codeHTTPWhat happenedWhat to do
missing_api_key401No API key was sent.Send it in the X-API-Key header.
invalid_api_key401The key doesn't exist.Copy the key again from the dashboard.
api_key_inactive401The key was turned off, or its package expired or ran out of solves.Use an active key.
account_suspended401Your account is suspended.Contact support.
auth_error401We couldn't check the key.Retry.
invalid_request_body400The body isn't valid JSON.Send a valid JSON body.
request_too_large413The body is over 4 MB.Send a smaller body.
invalid_task_type400task_type isn't a known task.Use a task type from Solve.
missing_fields400A field the task needs is missing.Add the fields that error lists.
invalid_proxy400The proxy parameters can't make a proxy.Fix the field that error names. See Proxies.
task_not_authorized402This package key can't solve this task type.Check allowed_tasks on Balance.
insufficient_balance402Your balance is below the task's price.Top up.
package_exhausted402The package has no solves left. A few seconds later, the same key answers api_key_inactive instead.Renew the package, or use a pay-per-solve key.
task_blocked403The target site or sitekey is blocked. If error says "for trial credits", it's only blocked until you top up.Top up to unlock a trial block. Otherwise contact support if you think it's a mistake.
task_not_found404/feedback only: no solve on your account in the last 24 hours has that task_id.Check the task_id. A solve from the last few seconds may not be found yet.
rate_limited429You're sending solves faster than your key's limit.Wait for Retry-After, then retry. See Rate limits.
task_disabled503The task type is turned off for now.Retry later.
proxyless_unavailable503Proxyless solving isn't available right now.Retry later, or use turnstiletask with your own proxy.
billing_error500The solve worked, but charging failed, so the result wasn't sent.Retry. You weren't charged.
internal_error500Something went wrong on our side.Retry.

Failed solves

Peak Solutions tried to solve the task and couldn't. These come back as HTTP 200 with "success": false.

error_codeTasksWhat happenedWhat to do
proxy_errorAllYour proxy failed or was rejected.Check the format and that it's reachable.
timeoutAllThe solve didn't finish in time.Retry, or use a faster proxy closer to the site.
solve_failedAllThe solver couldn't produce a result.Retry, if needed with a different proxy.
no_serversAllNo solver for this task is free right now.Retry in a few seconds.
proxy_requiredAllThe task needed a proxy and none was available.Retry.
solver_errorAllThe solver ran into an error.Retry.
unknownAllSomething else went wrong.Retry. Contact support if it keeps happening.
challenge_flaggedTurnstile, 5-secondThe challenge flagged the request, usually the proxy's IP.Retry with a proxy that has a cleaner IP.
invalid_sitekeyTurnstile, 5-secondThe sitekey is wrong for that site.Check the sitekey belongs to the page.
invalid_actionTurnstile, 5-secondaction doesn't match the site.Send the exact data-action, or leave it out.
invalid_cdataTurnstile, 5-secondcdata doesn't match the site.Send the exact data-cdata, or leave it out.
no_challenge5-secondThe page isn't showing a challenge.Check the url, and that the page is challenged right now.
ip_blocked5-secondCloudflare blocked the proxy's IP.Retry with a different proxy.
unsupported_user_agent5-secondThe user-agent isn't supported.Send a Windows Chrome user-agent.
invalid_html5-secondThe page couldn't be read.Check the url, and that html is the challenge page.
invalid_request_data5-secondThe request data was rejected.Check the url format, such as https://example.com/.
turnstile_failed5-secondThe Turnstile inside the challenge failed. If that step timed out or the proxy failed, you get timeout or proxy_error instead.Retry with a different proxy.

On this page