You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When attempting to use the cloudflare turnstile method to solve standalone turnstile captchas, it seems to always return an API error on the current version of the package.
When emulating the request this code sends in a http client we can see more details on the resulting error.
POST https://api.2captcha.com/createTask
Accept: application/json
{
"clientKey":"CENSORED_API_KEY",
"task": {
"type":"TurnstileTaskProxyless",
"websiteURL":"https://account.jagex.com",
"websiteKey":"0x4AAAAAAADnPIDROrmt1Wwj"
}
}
---
{
"errorId": 110,
"errorCode": "ERROR_BAD_PARAMETERS",
"errorDescription": "The required captcha parameters in your reques are missing or have incorrect format. Please make sure your request payload has proper format for selected task type."
}
It seems the 2captcha api is expecting additional parameters, that the CloudflareTurnstile struct does not currently contain.
The text was updated successfully, but these errors were encountered:
After reading more of the documentation, api2captcha.CloudflareTurnstile lacks a large number of the required attributes for solving this captcha, resulting in APIError on attempt to solve.
The 2captcha api documentation for Turnstile has a table listing variables for the turnstile method, both required and non-required, currently the struct for cloudflare turnstile is lacking,
Useragent (required for standalone and challenge page)
Action (required for challenge page)
Data (required for challenge page)
Pagedata (required for challenge page)
Could we please see implementation into the library.
Hello,
When attempting to use the cloudflare turnstile method to solve standalone turnstile captchas, it seems to always return an API error on the current version of the package.
for example, take the below code.
This will always return api2captcha.ErrApi
When emulating the request this code sends in a http client we can see more details on the resulting error.
It seems the 2captcha api is expecting additional parameters, that the CloudflareTurnstile struct does not currently contain.
The text was updated successfully, but these errors were encountered: