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.

The specified token is not valid immediately after installing

See original GitHub issue

I ran the following:

npm i -g now
now

and got:

> Error! The specified token is not valid

now version 16.3.1

Disclaimer: I had previously tried and uninstalled now.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

32reactions
styflecommented, Oct 15, 2019

Hi @imyjimmy

This error message could be improved.

You probably need to run now logout and then now login to generate a new token.

19reactions
WilliamConnatsercommented, Aug 1, 2020

Yes, the UX on this error could be much better. I found this via Google, but simply logging me out and re-initiating the log in process would have been a much better experience than some cryptic error message.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I'm getting the "Your token is invalid [401]" error
This error means that the app has experienced an authentication problem and can't verify your account information. If it occurs, you'll be automatically ......
Read more >
The specified token is invalid is Invalid when using Client ...
I am able to get an Access token using Insomnia Rest Client and Client Credentials. But when I call the API with the...
Read more >
Troubleshoot Invalid Token Errors - Auth0
Error Message: The ID token cannot be validated because it was signed using the HS256 algorithm and public applications (such as a browser)...
Read more >
How to re-issue a token on a NetBackup 8.1.x client ... - Veritas
Solution · Click on Security Management --> Certificate Management · Right click on the host that was reinstalled, select Generate Reissue Token
Read more >
What is an 'invalid token' when I try to reset my password?
If you're trying to reset your password and you receive an error citing an “invalid token” or asking you for your token, it's...
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