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:
{
"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;errorDescriptionis 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) — nevererrorId: 0. - A failed task is not charged. 2Captcha names of the codes: 2Captcha compatibility.
All codes#
- ความหมาย
clientKeyis 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/pageActionand the proxy.
- ความหมาย
- Unknown method, wrong HTTP method, or the body is not valid JSON (for example,
taskIdsent as a string). - สิ่งที่ควรทำ
- Send
POSTwith 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
taskIdand 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.
- ความหมาย
taskis missing or invalid: a required field is empty, a value is out of range,callbackUrlis not a public http(s) URL, or the body is larger than 1 MiB.errorDescriptionnames the field.- สิ่งที่ควรทำ
- Fix the field named in
errorDescriptionand send the task again.
- ความหมาย
- Unknown or disabled task type.
- สิ่งที่ควรทำ
- Take the type from getTaskTypes. Names are case-sensitive:
RecaptchaV2TaskProxyless, notReCaptchaV2TaskProxyLess.
- ความหมาย
- 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
websiteKeyfrom the page again (data-sitekeyor thekparameter); 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
proxyLoginandproxyPassword.
- ความหมาย
- The widget type does not match
isInvisible: an invisible reCAPTCHA sent as visible or the other way round. - สิ่งที่ควรทำ
- Set
isInvisibleaccording 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
createTaskor 50getTaskResultper 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.