question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

Bug Report

Current Behavior When running the Probot app locally, I get the following error on startup:

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

even though the JWT being sent is valid: https://jwt.io/#debugger-io?token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NjMzMDU3MDcsImV4cCI6MTU2MzMwNjI3NywiaXNzIjoiMTEzODAifQ.Pn3Y7kdyYMpOUDuHUlEKErYApxXGmQR9_0--SUo4VUbgMW4_r9_63Lj0q6J07JeAcJ5XWHpauD4SaBerAjOQMgx3xNfLhE0MpzCYnOSYfS7nCBOz0qB26wLef-0sGjIwfGZ6mRsrcWtjGbJdk2x0gUfA4IbyMM9PlHyWAz5Ffdlf_27YZxvDGw8_JsShJGpWv_cG4jYTHCR5E5HHEAQPdpJ4WFuehEeUlH1LTQQBG5yPAjYp5bgN980TAAH8-nJhSwTU45_4qttd83fu8uKud5nULGLb8PG7jmcl9nEfeBOGRRWlrboa1UhFCA5YIe_BROgML3ffhQ9S7HTG2hMABQ

Expected behavior/code No errors should occur on startup.

Environment

  • Probot version(s): 9.2.19
  • Node/npm version: v10.16.0
  • OS: OSX 10.14.5

Possible Solution

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
CyberShadowcommented, Feb 28, 2022

Anyone else seeing this error from GitHub’s API, check the clock of your system - the timestamp must not be in the future. In our case the machine’s clock drifted one minute forward.

1reaction
gr2mcommented, Jul 17, 2019

Yeah let’s do that. I’ll keep an eye out on though. Thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

SonarQube PR Decoration failing iat time error
... HTTP code (was 401): {“message”:"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued" ...
Read more >
IAT claim not getting inserted in the JWT Token - Stack Overflow
The token given by our Identity Server is not having the "iat" claim. After authenticating the user from our side, we need to...
Read more >
jenkinsci/github-branch-source-plugin - Gitter
GHFileNotFoundException: https://api.github.com/app {"message":"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was ...
Read more >
RFC 7519: JSON Web Token (JWT) - » RFC Editor
JSON Web Token (JWT) Overview JWTs represent a set of claims as a JSON object ... "iat" (Issued At) Claim The "iat" (issued...
Read more >
SonarQube Pull Request Decoration - Linux Dev Space
... HTTP code (was 401): {“message”:”'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued” ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found