vscode-apimanagement
vscode-apimanagement copied to clipboard
406 error when uploading policy
Does this occur consistently? Yes Repro steps:
- Create an API, and edit the all-operations policy using the VSCode extension
- Save the cshtml file, choose "Upload"
- Receive 406 error response
- Note that policy did successfully save and upload
Action: azureApiManagement.apiPolicyEditor.onDidSaveTextDocument Error type: Error Error Message: Failed with code "406".
Version: 1.0.5 OS: win32 OS Release: 10.0.19044 Product: Visual Studio Code Product Version: 1.72.2 Language: en
Call Stack
ApiPolicyEditor.<anonymous> extension.bundle.js:16:370772
rejected extension.bundle.js:16:369403
Same for me on Linux Ubuntu 22.04. VS Code: 1.73.0 Extension: v1.0.5
Having the same problem with the latest versions of VS code and the extension to date. These errors pop up when trying to save any changes to the policy. Was working all fine a few weeks ago. Failed with code "406". Error: Failed with code "406".
Same issue for me
Action: azureApiManagement.operationPolicyEditor.onDidSaveTextDocument
Error type: Error
Error Message: Failed with code "406".
Version: 1.0.5
OS: win32
OS Release: 10.0.19044
Product: Visual Studio Code
Product Version: 1.70.0
Language: en
Same issue for me, this was working fine a week ago, no updates in extension, it just simply stopped working
Action: azureApiManagement.operationPolicyEditor.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.72.1 Language: en