Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hcaptcha request error 400 #14

Open
aigottfriadhelp opened this issue Dec 9, 2024 · 0 comments
Open

Hcaptcha request error 400 #14

aigottfriadhelp opened this issue Dec 9, 2024 · 0 comments

Comments

@aigottfriadhelp
Copy link

Hello, I am solving hcaptcha using node.js 20. I constantly get this error, while api data is passed correctly (I can withdraw the balance) and the parameters are definitely transferred correctly - the site key and the URL of the page on which the captcha is located. Error 400, with and without proxy parameter.
Data passed:
{"type":"hcaptcha","sitekey":"correct_sitekey","url":"correct_url","proxy":{}}
Error:
InvalidRequestError: Invalid request
at NopeCHAApi.handle_error_response (/Projectdir/node_modules/nopecha/nopecha.js:143:20)
at NopeCHAApi.post (/Projectdir/node_modules/nopecha/nopecha.js:198:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async NopeCHAApi.solve (/Projectdir/node_modules/nopecha/nopecha.js:205:17)
at async NopeCHAApi.solveToken (/Projectdir/node_modules/nopecha/nopecha.js:223:16)
at async solveHCaptcha (file:///Projectdir/index.mjs:155:19)
at async automation (file:///Projectdir/index.mjs:254:37)
at async execute (file:///Projectdir/index.mjs:619:13)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant