Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't publish package #507

Closed
Levminer opened this issue Nov 12, 2020 · 15 comments
Closed

Can't publish package #507

Levminer opened this issue Nov 12, 2020 · 15 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@Levminer
Copy link

Every time I log in and try vsce publish I get this error: ERROR Access Denied: <my account name> needs the following permission(s) on the resource to perform this action: Allows for the creation of BuiltIn extensions.

@joaomoreno
Copy link
Member

Did you follow this guide? https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token

Pay attention to:

  • All accessible organizations
  • Custom defined, Marketplace: Acquire & Manage

@joaomoreno joaomoreno self-assigned this Nov 13, 2020
@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Nov 13, 2020
@Levminer
Copy link
Author

Levminer commented Nov 13, 2020

Yes. Everything is the same. And I get the same error form vsce and on the marketplace upload website

@joaomoreno
Copy link
Member

cc @prashantvc: Can you provide more insights?

@prashantvc
Copy link
Contributor

@Levminer Do you see your publisher name on https://marketplace.visualstudio.com/manage/ (left on the webpage)

@Levminer
Copy link
Author

@prashantvc Yes.

@prashantvc
Copy link
Contributor

@SaiKanth007 can you take a look at this issue, please?

@SaiKanth007
Copy link

@Levminer While generating the PAT token, can you select "All Accessible Organization" and "Full Access" (instead of custom access). Let us know if the you still get the same error ?

@Levminer
Copy link
Author

@SaiKanth007 Yes.

@SaiKanth007
Copy link

@Levminer Can you please share the publisherName under which you are trying to publish this extension. Also can you please email us your VSID to vsmarketplace@microsoft.com

Steps to share VSID:

  1.   Login to the Marketplace (https://marketplace.visualstudio.com ) with the required email address, which needs to have access to the publisher. 
    
  2.   After getting logged in, from the same browser window, open https://marketplace.visualstudio.com/_apis/connectiondata 
    
  3.   You should see some JSON data in the window.
    
  4.   Copy paste the output of the page that you see. We are interested in the "id" field of the "authenticated" user.
    

@SaiKanth007
Copy link

@Levminer Please restrict from sharing VSID's on public github repositories.

Also please share the publisherName under which you are publishing the package

@Levminer
Copy link
Author

Levminer commented Nov 17, 2020

@SaiKanth007 I sent an email. And my publishername is Levminer and the id is levminer

@Levminer
Copy link
Author

In my package.json in the keywords section had a # and that's why it don't worked.

@vijval2010
Copy link

In my package.json in the keywords section had a # and that's why it don't worked.

I had the same problem and I set a keyword to "#000000"

@eaccmk
Copy link

eaccmk commented Apr 16, 2023

This is purely reproducible issue , in your VScode extensions package.json file add a keyword starting with hash # such as

 "keywords": [
    "#VScodeBug",
    "#bug",
    "# bug",
    ],

I stumbled on this, can this 🐞 be fixed ?

@prashantvc
Copy link
Contributor

@eaccmk perhaps you should file separate bug for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

6 participants