Errors and troubleshooting
What does ERROR_CAPTCHA_UNSOLVABLE mean?
The solver tried and could not produce an answer for that task. You are not charged; send the task again, and if the error repeats, look at the inputs you are sending.
What it means and what it costs
ERROR_CAPTCHA_UNSOLVABLE is returned by getTaskResult (or as the reply from res.php in the in.php interface) when a task ended without an answer. Nothing is deducted from your balance: only solved tasks are charged. A single occurrence is normal and should be handled by creating a new task with the same inputs. A run of them on the same site means something in the task does not match the page, and resending the same data will keep failing.
Handle a single occurrence
async function solveWithRetry(createAndWait, task, maxTries = 3) {
for (let attempt = 1; attempt <= maxTries; attempt++) {
const outcome = await createAndWait(task); // resolves with the reply object
if (outcome.errorId === 0 && outcome.status === "ready") return outcome.solution;
if (outcome.errorCode !== "ERROR_CAPTCHA_UNSOLVABLE") throw new Error(outcome.errorCode);
console.warn(`unsolvable on try ${attempt}, retrying`);
}
throw new Error("unsolvable after retries, check task inputs");
}
Retry a small number of times, then stop and log the task. The error handling guide puts this rule next to the others.
Causes when it repeats
Token tasks
- Wrong site key or URL. A key copied from another widget, from a staging page, or a URL on a different domain than the one the key is registered for.
- Wrong type. A v3 key sent as v2, or a standard task against an Enterprise key; see which reCAPTCHA version you have.
- Missing extras. Enterprise
spayloads, Turnstilemetadata, or invisible flags the page needs.
GeeTest
GeeTest v3 needs a fresh challenge value fetched right before the task. A challenge reused from an earlier page load has expired and cannot be solved.
Proxy tasks
For types that run through your proxy, a proxy that is slow, blocked by the target or refusing the solver makes the task unsolvable. Test it alone first; see testing a proxy.
Image tasks
- The base64 includes a
data:image/png;base64,prefix, which must be removed. - The image is a placeholder, a blank frame or a different picture than the one shown to the user.
- The image was captured at a very small size or cropped so characters are cut.
A short diagnostic list
- Open the page in a normal browser and confirm the widget appears with the key you sent.
- Compare the task type with the version the page loads.
- For image tasks, decode your base64 back to a file and look at it.
- For proxy tasks, try the proxyless variant where one exists, to rule out the proxy.
- Check the site for recent changes: new widget, new key, new vendor.
Other errors that look similar
A task that runs past 120 seconds is closed as failed rather than with this code, also at no charge. ERROR_INVALID_TASK_DATA means a required field is missing and the task was never started; see invalid task data. ERROR_TASK_NOT_SUPPORTED means the type name is not one of the 14 supported types.
Keeping the rate low
Read parameters from the live page each time instead of hard-coding them, since sites rotate keys. Fetch dynamic values such as GeeTest challenges immediately before creating the task. Send clean images at their natural size. With correct inputs, unsolvable results are the exception, and the retry loop above absorbs them.
It also helps to count unsolvable results per site and per day. A sudden jump on one domain, with no change in your code, nearly always means the site changed something on its side.
Common questions
Am I charged for ERROR_CAPTCHA_UNSOLVABLE?
No. Only solved tasks are charged, so this result costs nothing.
Should I retry immediately?
Yes, once or twice with the same inputs; if it keeps happening, check the inputs instead of retrying more.
Why does every GeeTest task come back unsolvable?
A common cause is a stale v3 challenge value; fetch a fresh one right before each task.
Can a bad proxy cause this error?
Yes. If the solver cannot load the page through your proxy, the task cannot be solved.
Does the in.php interface return the same code?
Yes. res.php replies ERROR_CAPTCHA_UNSOLVABLE for tasks that could not be solved.
Keep reading
- Error handling for CAPTCHA APIsSort every CAPTCHA API error into retry, fix or stop, follow those rules in code, and know which outcomes cost nothing.
- What does ERROR_INVALID_TASK_DATA mean?A required field is missing or malformed in your task object, and errorDescription names the field to fix.
- API docscreateTask, getTaskResult, getBalance, error codes and the in.php format.
- Site keyThe public value a widget loads with, where it hides in HTML or scripts, and why token tasks require it.