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.

used to work well but can't get through after token updated

See original GitHub issue

tried several times but no luck.

Traceback (most recent call last):
  File "/Users/jun.xiong/miniconda3/bin/gist", line 11, in <module>
    sys.exit(main())
  File "/Users/jun.xiong/miniconda3/lib/python3.6/site-packages/gist/client.py", line 405, in main
    token = get_personal_access_token(config)
  File "/Users/jun.xiong/miniconda3/lib/python3.6/site-packages/gist/client.py", line 288, in get_personal_access_token
    raise GistInvalidTokenError("Invalid personal access token")
gist.client.GistInvalidTokenError: Invalid personal access token

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
suredreamcommented, May 13, 2021

hi jdowner, I did a couple of time of the PAT and also tried from my local and some cloud instance. Neither works.

I changed to this client and went through smoothly, so I assume it was not the problem of PAT.

However, I am still looking forward to using your tool since it looks awesome and more capabilities. Hopeful we can figure out why this issue happened.

Thanks for your great work!

0reactions
jdownercommented, May 21, 2021

@suredream I’m going to close this ticket. I’ve removed the code that raises this error and published the fix in a new version of gist (v0.10.4). If you are still having problems with this new version, feel free to re-open this ticket or create a new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Are Refresh Tokens and How to Use Them Securely
That is, a refresh token is a credential artifact that lets a client application get new access tokens without having to ask the...
Read more >
Re: Refresh Token
When this happens in an app that's machine to machine that doesn't receive user input, there doesn't seem to be a way to...
Read more >
Refresh Tokens - OAuth 2.0 Simplified
The presence of the refresh token means that the access token will expire and you'll be able to get a new one without...
Read more >
Refresh token problem
I have a problem: I use api to work with android and ios applications. I have more than one application. I save tokens...
Read more >
OAuth 2.0 Refresh Token Best Practices
Table of Contents · Traditional Web Application executed in the server, where you can safely retrieve and use a client secret to request...
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