microsoft / vscode-apimanagement

VS Code extension for Azure API Management.
MIT License
60 stars 40 forks source link

Problem when uploading the policy using the Azure API Management extension #278

Open GustavoFranzolin opened 1 year ago

GustavoFranzolin commented 1 year ago

Does this occur consistently? Yes Repro steps:

1.using Azure API Management extension in visual code, unable to upload any policy, server returns 406 2. image

  1. The json files, the plugin uploads correctly, only the files (cshtml) that this problem happens.

Action: azureApiManagement.operationPolicyEditor.onDidSaveTextDocument Error type: Error Error Message: Failed with code "406".

Version: 1.0.5 OS: win32 OS Release: 10.0.22000 Product: Visual Studio Code Product Version: 1.73.1 Language: pt-br

Call Stack ``` OperationPolicyEditor. extension.bundle.js:16:370772 rejected extension.bundle.js:16:369403 ```