Hi, I have created my PAT following the vscode docs guide here. The problem is, whenever I try to run vsce create-publisher username I get the following output in the terminal:
Publisher human-friendly name: (somename)
E-mail: someemail
Personal Access Token: ****************************************************
ERROR Failed request: (401)
I've come across some posts that solve this managing an account option and establishing a wider scope but I had no luck trying to find that section. How I should proceed?
Thanks in advance.
Did you choose all accessible accounts when creating the token? https://code.visualstudio.com/api/working-with-extensions/publishing-extension#i-get-403-forbidden-or-401-unauthorized-error-when-i-try-to-publish-my-extension
Did you choose
all accessible accountswhen creating the token?
Do you mean all accessible organizations is only the related thing I can see in the token creation window.
Thanks.
Yes, does that work?
Yes that was it, thanks a lot, in the docs it appears as all accesible accounts I was a bit confused.
Updated documentation with https://github.com/microsoft/vscode-docs/commit/da7c9825478a3ccbe909e9232ae43ae29eb6bdb3
Most helpful comment
Updated documentation with https://github.com/microsoft/vscode-docs/commit/da7c9825478a3ccbe909e9232ae43ae29eb6bdb3