Open sairam-github opened 3 years ago
Sairam, did you ever find out what happened here? I have the same issue. Interesting, I have the same API on two APIM instances. In one instances, the error occurs, in the other instance, the debugging starts fine. So I wonder whether it has to do with the APIM Instance configuration?
Or, in other words, to solve this for the instance, move the API to a new APIM instance and try again.
You can solve this by running this on AZ CLI:
az apim update --name API Management Name
-g Resource Group
--set apiVersionConstraint.minApiVersion=2019-01-01
Does this occur consistently? Repro steps:
Action: azureApiManagement.debugPolicy Error type: TypeError Error Message: Cannot read property 'primaryKey' of undefined
Version: 1.0.2 OS: win32 OS Release: 10.0.18363 Product: Visual Studio Code Product Version: 1.55.2 Language: en
Call Stack
``` extension.bundle.js:479:71396extension.bundle.js:479:71396 OperationConsole.