I was using this piece of code for ~4 months without issues:
var jsonCredsContent = File.ReadAllText("info.json");
sheetHelper = new SheetHelper(SheetId, "XXXXXX@XXXXXXXX.iam.gserviceaccount.com", "");
sheetHelper.Init(jsonCredsContent);
but now it seems to produce an exception at the Init part:
Google.Apis.Auth.OAuth2.Responses.TokenResponseException: 'Error:"invalid_grant",
Description:"Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe.
Check your iat and exp values in the JWT claim.", Uri:""'
I was using this piece of code for ~4 months without issues:
but now it seems to produce an exception at the
Init
part: