NeuroCaptcha

Errors

Every error code of the API: errorId, errorCode, what it means and what to do.

本節內容以英文顯示。

Every answer is HTTP 200 with errorId. 0 means success; otherwise there are errorCode and a human-readable errorDescription:

Error
{
  "errorId": 1,
  "errorCode": "ERROR_KEY_DOES_NOT_EXIST",
  "errorDescription": "Account authorization key not found in the system."
}
  • Check errorId != 0, not the HTTP status.
  • Branch on errorCode; errorDescription is for people and may change.
  • Ids 1–55 follow the Anti-Captcha registry, ids from 90 are codes of this service. An unknown failure is ERROR_INTERNAL (90) — never errorId: 0.
  • A failed task is not charged. 2Captcha names of the codes: 2Captcha compatibility.

All codes#

含義
clientKey is missing, malformed, revoked or unknown.
處理方式
Copy the key again from Dashboard → API keys; check for spaces and line breaks and that it is not a key of another service.
含義
The key already has the maximum number of tasks in progress (200 by default).
處理方式
Wait until some tasks finish and retry in 1–2 seconds, or raise the parallel limit of the key in the dashboard.
含義
The available balance is below the price of the task. Money held for tasks in progress is not available.
處理方式
Top up the balance. Test keys do not need a balance.
含義
The request came from an IP address that is not in the key's allowlist.
處理方式
Add the address or network to the allowlist of the key, or clear the list.
含義
The task could not be solved after all attempts. The held money is returned — the task is free.
處理方式
Create a new task. If it repeats, check websiteURL, websiteKey, isInvisible / pageAction and the proxy.
含義
Unknown method, wrong HTTP method, or the body is not valid JSON (for example, taskId sent as a string).
處理方式
Send POST with a JSON body to a documented method.
含義
No task with this id in your account, or its result expired (10 minutes after it was solved). Reports about unsolved tasks also get this code.
處理方式
Check taskId and the key — tasks are visible to the account that created them. Fetch results soon after they are ready, or use webhooks.
含義
Requests from this IP address are blocked because of abuse.
處理方式
Write to support with your account email and the IP address.
含義
task is missing or invalid: a required field is empty, a value is out of range, callbackUrl is not a public http(s) URL, or the body is larger than 1 MiB. errorDescription names the field.
處理方式
Fix the field named in errorDescription and send the task again.
含義
Unknown or disabled task type.
處理方式
Take the type from getTaskTypes. Names are case-sensitive: RecaptchaV2TaskProxyless, not ReCaptchaV2TaskProxyLess.
含義
The proxy refused the connection.
處理方式
Check the address, port and type of the proxy, and that it accepts connections from the internet.
含義
Connecting to the proxy timed out.
處理方式
Check that the proxy is online; use a faster one.
含義
The proxy accepted the connection but did not answer in time.
處理方式
Use a more stable proxy.
含義
The proxy IP is blocked by Google or by the site.
處理方式
Use another proxy, preferably residential or mobile.
含義
The task was not solved in time: no worker took it within 180 seconds, or the attempts ran out. Not charged.
處理方式
Create a new task. If it keeps happening, check the status page and your proxy.
含義
Google rejected the site key.
處理方式
Take websiteKey from the page again (data-sitekey or the k parameter); do not mix v2, v3 and Enterprise keys.
含義
The site key is not valid for the domain of websiteURL.
處理方式
Pass the address of the page where the widget is really shown.
含義
The site considers the browser outdated.
處理方式
Pass a current desktop userAgent.
含義
The proxy does not load images (a compatibility code).
處理方式
Use another proxy.
含義
Wrong proxy login or password.
處理方式
Check proxyLogin and proxyPassword.
含義
The widget type does not match isInvisible: an invisible reCAPTCHA sent as visible or the other way round.
處理方式
Set isInvisible according to the widget on the page.
含義
The account is suspended.
處理方式
Write to support.
含義
A temporary failure on our side. Any unknown error is reported with this id too — never with errorId: 0.
處理方式
Retry with a growing pause (1, 2, 4… seconds). If it lasts, check the status page.
含義
Rate limit: more than 30 createTask or 50 getTaskResult per second for the key, or more than 100 requests per second from one IP.
處理方式
Slow down and retry with a pause; poll each task every 2–3 seconds.
含義
The daily or monthly spending cap of the key is reached.
處理方式
Raise or remove the cap in the key settings, or wait for the next day or month.