microsoft / vscode-apimanagement

VS Code extension for Azure API Management.
MIT License
59 stars 38 forks source link

When attempting to browse any resources in the API Management extension, the following exception is thrown #352

Open khendys opened 2 months ago

khendys commented 2 months ago

Does this occur consistently? Yes Repro steps:

  1. Connect to API Management in VS Code.
  2. Browse to an APIM instance.
  3. Select any of the resources under the APIM instance (e.g. APIs. Authorizations, Gateways, Named Values, Products, Subscriptions)
  4. Attempting to expand any of the resources results in the same error.

Action: azureApiManagement.showServicePolicy Error type: Error Error Message: API version query parameter is not specified or was specified incorrectly. Supported versions: 2021-08-01,2021-12-01-preview,2022-04-01-preview,2022-08-01,2022-09-01-preview,2023-03-01-preview,2023-05-01-preview,2023-09-01-preview Example query param format: api-version=SupportedVersion

Version: 1.0.8 OS: win32 OS Release: 10.0.19045 Product: Visual Studio Code Product Version: 1.88.1 Language: en

Call Stack ``` ServicePolicyEditor. extension.bundle.js:16:392980 rejected extension.bundle.js:16:392126 ```