Token must be a short-lived token and in a reasonable timeframe

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.googleapis.com/oauth2/v4/token 400 Bad Request