When I try to install vscode, snapd shows error code 400

I've just tried installing vscode from the software center.

Here's what happened:

  • I was asked to register to Ubuntu One.
  • I was asked for authentication, in Turkish. This is a new Entroware laptop with Ubuntu preinstalled.
  • I typed in my system password.
  • I got this:

    Detailed errors from the package manager follow:
     snapd returned status code 400: Bad Request
    

Solution 1:

vscode is a 'classic' snap which unfortunately cannot currently be installed in software center. However, you can install it from the command line via snap install vscode --classic.