Share via

Publisher/Extension Uploading Issue in VS Marketplace

Dev Cyberscope 0 Reputation points
2026-05-15T13:02:03.1766667+00:00

Hi Team,

I created a VS Code extension and properly configured the required metadata in the package.json file, including:

  • Publisher information
  • Homepage URL
  • Repository URL
  • License information
  • Keywords
  • Extension description

However, when I try to upload the .vsix file to the Visual Studio Marketplace, I receive the following error:

“Upload Error: Your extension has suspicious content. Please fix your extension metadata, or contact support if you need assistance.”

I have already tried updating and modifying the metadata multiple times based on the error message, but the issue still persists and I am unable to publish the extension.

Also, I am not currently using the Personal Access Token (PAT) method in Azure DevOps, so I would like to know whether I may be missing any required setup or doing something incorrectly during the publishing process.

Could you please review this issue and guide me on what needs to be corrected?

Thank you for your support.

Thanks, CyberscanAI

Screenshot 2026-05-15 122923

Screenshot 2026-05-15 182740

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


1 answer

Sort by: Most helpful
  1. TUSHAR SHARMA 0 Reputation points
    2026-05-15T14:02:51.0366667+00:00

    Hi Team,

    The error "Your extension has suspicious content" generally appears when the validation system in VS Marketplace detects any missing or unsafe data in the metadata of the extension or its packaging.

    One of the issues found during the inspection of the package.json file is that the activationEvents property is left blank:

    "activationEvents": []
    

    Instead, you can set a valid activationEvent like:

    "activationEvents": [
      "onCommand:extension.start"
    ]
    

    Following are some other things to keep in mind:

    Ensure that all the links such as homepage, repository, bugs.url are active and available publicly.

    The GitHub repository should be public.

    Eliminate all unnecessary/minimized files in the .vsix packaging.
    To publish using the established Visual Studio Code Extensions (VSCE) procedure you can utilize an Azure DevOps Personal Access Token (PAT) as follows:

    Recommended Commands:

    vsce login  
    vsce package 
    vsce publish
    

    The problem here is likely due to issues with your metadata meeting validation criteria or security checks of the Marketplace which could prevent your extension from functioning correctly, however, if you’ve correctly updated and installed your activation events and republished via the approved VSCE and Azure DevOps PAT process, this should resolve the problem.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.