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

Please solve params problem #50

Open
GlistenSTAR opened this issue Jun 3, 2024 · 6 comments
Open

Please solve params problem #50

GlistenSTAR opened this issue Jun 3, 2024 · 6 comments

Comments

@GlistenSTAR
Copy link

Hello,
I faced this issues while I am using 2captcha module.

Screenshot_5

Some parameters are missing in this request. If you're using a pre-provided function, please open up an issue on the GitHub (https://github.com/furry/2captcha)   
solving captcha...

So I contacted you. Could you solve this problem, please?

Warm regards
Waiting your kindly reply.

@Furry
Copy link
Owner

Furry commented Jun 4, 2024

Howdy there,

What type of captcha are you attempting to solve, and what version of the library are you using?

In the meantime, npm i 2captcha/next is the newest refactor, fixing many changes in the API and supporting more captcha types. Do let me know where the issue is from, or if the newer version fixes it!

@GlistenSTAR
Copy link
Author

GlistenSTAR commented Jun 4, 2024

following your word, I used next version, but it's still same. I got same error.

Some parameters are missing in this request. If you're using a pre-provided function, please open up an issue on the GitHub (https://github.com/furry/2captcha)

my code.


      const solver = new Captcha.Solver(process.env.twocaptchaKey)
      await solver.recaptcha(sitekey, url)

now I am using only one param but in the message, they are requiring more parameter

Please solve my problem
thanks in advance

@Furry
Copy link
Owner

Furry commented Jun 4, 2024

following your word, I used next version, but it's still same. I got same error.

Some parameters are missing in this request. If you're using a pre-provided function, please open up an issue on the GitHub (https://github.com/furry/2captcha)

my code.


      const solver = new Captcha.Solver(process.env.twocaptchaKey)
      await solver.recaptcha(sitekey, url)

now I am using only one param but in the message, they are requiring more parameter

Please solve my problem thanks in advance

Solver.recaptcha("6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5", "https://patrickhlauke.github.io/recaptcha/")
.then((res) => {
    console.log(res);
})
.catch((err) => {
    console.log(err);
})

Using the sample recaptcha solve (sitekey and url) it works correctly after just testing it; could be a recaptcha v3 or something of that nature. Could you share the website you're trying to solve for?

@GlistenSTAR
Copy link
Author

can I share with telegram or etc like p2p chat?

@GlistenSTAR
Copy link
Author

@GlistenSTAR
this is my tg
or will I send a message here?
[email protected]

@Brainpepper
Copy link

Problem Description:
I've encountered a similar issue with the FunCaptcha solver that was previously working fine a couple of months ago but recently stopped functioning. The error message returned is:

"Some parameters are missing in this request. If you're using a pre-provided function, please open up an issue on the GitHub (https://github.com/furry/2captcha)."

Steps Taken:
I have double-checked that the siteKey and my 2captcha API key are both correct.

Below is the relevant code snippet where the error occurs:

const Captcha = require("2captcha");
const solver = new Captcha.Solver(2CaptchaApiKey)

let res = await solver.funCaptcha(siteKey, captchaUrl).catch((e) => {
    console.error(e.message);
});

Additional Information:
I also attempted to install the latest (experimental?) version of the package using:

npm i 2captcha/next

However, I encountered a permission-related issue while trying to install it:

npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/2captcha/next.git
npm ERR! [email protected]: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

Environment:
Current Package Version: "2captcha": "^3.0.7"
Node: v20.10.0

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

3 participants