Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
H-Captcha can't verify captcha key/token

Here is my code:

let result = await axios({
            method: 'post',
            url: 'https://hcaptcha.com/siteverify',
            params: {
                secret: "secret would be here",
                response: req.body.hcap
            }
        });
        let data = result.data || {};
        console.log(result)
        if(!data.success){
            res.send("bad token")
            return
        }
        else{
            res.send("good token") 
        }

I know that the token sent to the server is good.

Here is the error I'm receiving:

'error-codes': [ 'missing-input-response', 'missing-input-secret' ]
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I ended up finding the solution to be installing the hcaptcha package which made this a lot simpler.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!