vscode-apimanagement icon indicating copy to clipboard operation
vscode-apimanagement copied to clipboard

Azure APIM policy editor stopped working after VS Code version update

Open BenceSzilagyi opened this issue 2 years ago • 2 comments

Does this occur consistently? Yes Repro steps:

  1. Open any APIM policy in the VS Code Azure plugin
  2. Edit and save policy, notice the error below:

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

Version: 1.0.5 OS: win32 OS Release: 10.0.19045 Product: Visual Studio Code Product Version: 1.73.1 Language: hu

Call Stack
ApiPolicyEditor.<anonymous> extension.bundle.js:16:370772
rejected extension.bundle.js:16:369403

BenceSzilagyi avatar Nov 17 '22 15:11 BenceSzilagyi

Having the same issue here, even if no policy change is made, attempting to save gives a 406 error. Just updated the extension.

I think it does save though, I am seeing changes go through.

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

Call Stack
OperationPolicyEditor.<anonymous> extension.bundle.js:16:370772
rejected extension.bundle.js:16:369403

cchambers-rdi avatar Nov 17 '22 21:11 cchambers-rdi

Having an identical issue as explained above, last week it was resolved for a while, as in the messages stopped giving back 406, yet today (07/12/2022) they're back again.

Bubelgin avatar Dec 07 '22 12:12 Bubelgin