Code - oss marketplace

Good morning all,

I installed code - oss on my computer and I can no longer activate the marketplace since v1.58.0-1.

You too ?



Yepp, same here.
The Micro$oft one still works though.

it’s a bit special, if we have to add each dependency by hand …

I am having the same issue.

It is due to a CORS issue:

Access to XMLHttpRequest at ‘’ from origin ‘vscode-file://vscode-app’ has been blocked by CORS policy: Request header field x-market-user-id is not allowed by Access-Control-Allow-Headers in preflight response.

You can see this if you open the developer tools (Help > Toggle Developer Tools) and navigate to the Console/Network tab.

Yes, I saw each other by testing my proxy …
But I do not see how to solve the worry.

I’ve uninstalled vscode and reinstall it following this tutorial from

I also noticed this issue, but most of the dependencies I want are already installed. You can always install it from the command line in the meanwhile, just download the .vsix file from the marketplace website, then from your terminal you can enter:

code --install-extension nameofextension.vsix

Mind the spaces in between code and the --install-extension, as well as the space in between --install-extension and the name of the .vsix file.

Edit the file product.json in folder /usr/lib/code replacing this:

	"extensionsGallery": {
		"serviceUrl": "",
		"itemUrl": ""

with this:

	"extensionsGallery": {
		"serviceUrl": "",
		"itemUrl": ""

Tested and working well.


More or less this exact change is conveniently packaged in the code-marketplace AUR package, and it’ll apply the changes when code is updated, so you don’t need to worry about that too.

1 Like

This did the trick, thanks! Marketplace is working.