box / boxcli

A command line interface for interacting with the Box API.
https://developer.box.com
Apache License 2.0
228 stars 59 forks source link

BoxCLI 3.2.0 Auth Error: Please check the 'exp claim' #354

Closed jkhancock31 closed 2 years ago

jkhancock31 commented 2 years ago

When installing the BoxCLI 3.2.0 upgrade on Windows, I am now receiving an authentication error when attempting to run a box command. Running box users:get me gives the following error:

Auth Error: Please check the 'exp' claim. Should be an integer [400 bad request] invalid grant - Please check the 'exp' claim. Should be an integer.

This has happened with both the x64 and x86 versions of the BoxCLI.exe. Machine is a Windows 10 box.

BoxCLI Error

mwwoda commented 2 years ago

Hi @jkhancock31 Thank you for reaching out to us. Next time, please follow the issue template to make it easier for both parties to resolve the issue.

It looks like your local time may be out of sync with the internet Unix time. Please check if it synchronized it and try again.

jkhancock31 commented 2 years ago

Hi @mwwoda,

I'm sorry not using the template! When I hit new issue, I did not see one generate. I'll make sure to do so next time. I did some digging on the time settings for my machine and I appeared to be off 10 seconds compared to Unix time. I have since corrected this and installed 3.2.0 again. It is working.