microsoft / vscode-apimanagement

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

Azure APIM policy editor stopped working after VS Code version update #276

Open BenceSzilagyi opened 1 year ago

BenceSzilagyi commented 1 year ago

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. extension.bundle.js:16:370772 rejected extension.bundle.js:16:369403 ```
cchambers-rdi commented 1 year ago

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. extension.bundle.js:16:370772 rejected extension.bundle.js:16:369403 ```
Bubelgin commented 1 year ago

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.