VS Code extension publishing not working, Marketplace errors - unable to publish
Posted by Tough_Pride4428@reddit | learnprogramming | View on Reddit | 2 comments
Hi,
I'm trying to publish a VS Code extension and have encountered some issues. At this point, it seems the problem isn't on my end; rather, it's Microsoft's system, their server is rejecting my request somehow.
In the VS Code terminal:
• I've created a publisher (`Name`)
• I've generated a personal access token
• I've logged in via `vsce login`
• The extension package is valid (`package.json` appears correct, the version is set, etc.)
When I run the command:
vsce publish
I keep getting the message:
ERROR TF400898: An internal error has occurred.
I've tried:
• Multiple retries (including waiting \~20–30 minutes)
• Updating the version (`0.0.1` → `0.0.2`)
• Clearing `\~/.vsce`
• Publishing from GitHub Codespaces
On the VS Code Marketplace:
I uploaded the extension and when trying to publish, I keep getting the message:
Upload Error
TF400898: An Internal Error Occurred. Activity Id: 179323f7-b73e-4581-83ee-0e9c80dedd64.
Has anyone encountered this recently?
Are these known Marketplace issues?
Is there a reliable workaround?
I can't post at all right now and don't know of any other solution, so any information would be very helpful.
Hot_Inflation8531@reddit
This error code is pretty common when Microsoft's Azure DevOps services have hiccups - usually resolves itself in few hours but sometimes takes a day or two
Tough_Pride4428@reddit (OP)
Yes, I know it's on the Azure side, but the point is that for me this problem is persistent, not sporadic.