Furry / 2captcha

A wrapper around the 2captcha api
76 stars 27 forks source link

Please solve params problem #50

Open GlistenSTAR opened 6 months ago

GlistenSTAR commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

can I share with telegram or etc like p2p chat?

GlistenSTAR commented 6 months ago

@GlistenSTAR this is my tg or will I send a message here? me@naminginprogress.com

Brainpepper commented 3 months ago

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://git@github.com/2captcha/next.git
npm ERR! git@github.com: 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