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.

After inserting a wrong PAT once, the extension does not work even with a correct PAT

See original GitHub issue

@cschleiden Sorry by the title, it does work indeed, however it was a bit tricky for me to discover that.

I installed the extension by the first time and I inserted a wrongly created PAT (with less permissions than necessary). After trying using the extension (with the wrong PAT) I correctly received the An error has occurred message.

Reading the docs I realised that I should have added more permission. So I deleted my old PAT, created a new one with the right permissions and I inserted it in the extension by using the following menu: image

After inserting the CORRECT PAT I’ve just received the following message: image

I tried many times with the repo and workflow permissions enabled but the problem kept happening. So I decided to try to uninstall and install it again. (also reloading the VSCode)

Even before inserting the PAT again, the extension started to work properly!!!

After trying many times this flow, I realised that is necessary to ALWAYS reload VSCode if you want to change the PAT.

Summarising:

Insert a wrong PAT, extension does not work, fix the PAT and insert it again, extension (still)does not work, reload VSCode, extension does work (without any changes).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
cschleidencommented, Aug 14, 2020

I have just released version 0.7.0 with integrated VS Code authentication support, closing this for now.

1reaction
rajyramancommented, Jul 29, 2020

@cschleiden - That was it 😄. I had to delete the credentials in Windows, re-enter and re-start code. It works now.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

No hatch is applied when using the HATCH command in ...
Issue: When using the HATCH or BHATCH command in AutoCAD, no hatch pattern is applied or displayed on the screen. The command initiates ......
Read more >
Publishing Extensions - Visual Studio Code
Learn how to publish Visual Studio Code extensions to the public Marketplace and share them with other developers.
Read more >
Playing Ability Test Rules Regulations - PGA.org
Passing the PAT is not an entrance requirement into the PGA Professional Golf Management Program, but the. PAT must be passed prior to...
Read more >
pandas.read_csv FileNotFoundError: File b'\xe2\x80\xaa<etc ...
csv file using the pd.read_csv() function when I get an error despite the file path being correct and using raw strings. import pandas...
Read more >
1910.334 - Use of equipment.
Flexible electric cords connected to equipment may not be used for raising ... and flexible cord sets (extension cords) which remain connected once...
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