microsoft / vscode-apimanagement

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

Error: Failed with code "406" #280

Open jisjjy opened 1 year ago

jisjjy commented 1 year ago

Does this occur consistently? Yes Repro steps:

When enhanced API policy in Visual Studio Code and tried to upload changes to Azure cloud, it always fails and raises an error message Failed with code "406". Vice verse, when enhanced API policy in portal, it can auto reflect the changes to Visual Studio Code without any error.

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

Version: 1.0.5 OS: win32 OS Release: 10.0.22621 Product: Visual Studio Code Product Version: 1.73.1 Language: en

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