Vscode-vsce: Failed request: (401)

Created on 25 Jun 2020  路  5Comments  路  Source: microsoft/vscode-vsce

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.

needs more info

Most helpful comment

All 5 comments

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 accounts when 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.

Was this page helpful?
0 / 5 - 0 ratings