I am having the same error as this. In my case it is happening when the app is trying to upload a file via Google Cloud Client API.
POST https://www.googleap
I had a similar problem when trying to reach the google cloud big query API. Adjusting my system clock and allowing windows 10 to automatically set the time and time zone solved the problem.
It sounds obvious, but ensure the expiry exp
is after the issued at time iat
.
For those getting that error for a containerized app and ending up here,
I had the same issue when using my token from a containerized app. Rebooting Docker Desktop (Windows) did it for me.
I had this setup for weeks before getting that issue for the first time.
I was stumped on this for hours. I even posted this question. Turns out I had overlooked something that should have been somewhat obvious. My dev server is a Linux virtual machine. The clock on my VM was 8 days behind my local system clock. So while my local clock was correct, I overlooked the fact that my VM was several days delayed. Hopefully, this can save the absent-minded some time.