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

474
Views
Firebase credentials error

I got some error:

Credential implementation provided to initializeApp() via the \"credential\" property failed to fetch a valid Google OAuth2 access token with the following error: \"Error fetching access token: invalid_grant (Invalid JWT: Token must be a short-lived token and in a reasonable timeframe)\".

There are two likely causes: (1) your server time is not properly synced or (2) your certificate key file has been revoked.

To solve (1), re-sync the time on your server. To solve (2), make sure the key ID for your key file is still present at firebase project. If not, generate a new key file at service account setting.

When I try to use Firebase Admin SDK in Nodejs.

At my local computer it works, but when I try to use in AWS server, I got this error. Some tip?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

This is usually because your server clock is out of sync. You will need to adjust and sync the clock on your AWS VM instance. See Token must be a short-lived token and in a reasonable timeframe

over 4 years ago · Santiago Trujillo Report

0

If you are on windows and developing on the local environment, You can solve it by just setting your computer clock time to set time automatically. Both timezone and time should be set to set automatically. At least that's the single thing that worked for me in dev mode.

over 4 years ago · Santiago Trujillo 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!