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

179
Views
Getting error `GaxiosError: TOO_MANY_ATTEMPTS_TRY_LATER` while using identityToolkit.relyingparty.sendVerificationCode in Nodejs

Getting error when calling sendVerificationCode.

Tech Stack Used : Nodejs:

    async (req, res, next) => {
  // #swagger.tags = ['Auth']
// #swagger.description = ' This endpoint allows to create a post'
const { phoneNumber, recaptchaToken } = req.body;
  console.log(recaptchaToken);
const identityToolkit = google.identitytoolkit({
  auth: process.env.GCP_API_KEY,
  version: 'v3',
});


const response = await identityToolkit.relyingparty.sendVerificationCode({
  phoneNumber,
  recaptchaToken,
});

// save sessionInfo into db. You will need this to verify the SMS code
req.user.sessionInfo=response.data.sessionInfo;
await req.user.save();
res.status(200).json({success:true,data:"Otp sent"});
}

How to resolve this? I have tried every way I know.

about 4 years ago · Juan Pablo Isaza
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!