Home / Article Detail

VSCode Editor Configuration Claude Code 403

📅 Feb 24, 2026✍️ lllomh

    If this plugin cannot be used, it needs to go through a proxy.

    This is the VS Code proxy configuration. In Settings, find the setting.json file at the top right:

    {
      "claudeCode.preferredLocation": "panel",
      "http.proxy": "http://127.0.0.1:7890",
      "https.proxy": "http://127.0.0.1:7890",
      "claudeCode.environmentVariables": [
        { "name": "HTTP_PROXY", "value": "http://127.0.0.1:7890" },
        { "name": "HTTPS_PROXY", "value": "http://127.0.0.1:7890" }
      ],
      "security.workspace.trust.untrustedFiles": "open"
    }

    This 403 Forbidden error is usually caused by:

    Regional restrictions (you are not in a region supported by Anthropic) or login/authentication issues. The solution is to configure a proxy, log in again, or refresh the credentials. For the VS Code Claude Code extension, you need to configure the HTTP/HTTPS proxy and log in again to obtain shared credentials.