Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 5

'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued

I'm using a simple script to submit GitHub Status to pull requests. The script can be found at https://github.com/grpc/grpc/blob/master/tools/run_tests/python_utils/check_on_pr.py.

 

It works fine most of the time, but occasionally we will get following message. I'm sure I sent an integer, can you please help?

 

HTTP Status 401 Unauthorized
Fetch access token from Github API failed:
{"message":"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued","documentation_url":"https://developer.github.com/v3"}
Retrying after 1.00 second.
HTTP Status 401 Unauthorized
Fetch access token from Github API failed:
{"message":"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued","documentation_url":"https://developer.github.com/v3"}
Retrying after 1.00 second.
HTTP Status 401 Unauthorized
Fetch access token from Github API failed:
{"message":"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued","documentation_url":"https://developer.github.com/v3"}
Retrying after 1.00 second.
HTTP Status 401 Unauthorized
Fetch access token from Github API failed:
{"message":"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued","documentation_url":"https://developer.github.com/v3"}
Retrying after 1.00 second.
HTTP Status 401 Unauthorized
Fetch access token from Github API failed:
{"message":"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued","documentation_url":"https://developer.github.com/v3"}
error: Unable to fetch access token, exiting...
[ID: 4094683] Build finished after 3387 secs, exit value: 1
4 Replies
Community Manager
Message 2 of 5

Re: 'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued

Hey @lidizheng,

 

Thanks for reaching out and our apologies for the delay, are you still experiencing this issue?

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 3 of 5

Re: 'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued

same issue here. And I'm clearly sending int. Error is pretty frustrating, as it's obviously is related to something else. + no clarification on that in the docs. Refferning to GithubApps Api docs.

Copilot Lvl 3
Message 4 of 5

Re: 'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued

Ground Controller Lvl 2
Message 5 of 5

Re: 'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued

Also seeing same issue - no luck on a solution so far..