Description
Does this occur consistently?
Repro steps:
- Trying to Debug the API
APIM Details:
Developer Tier
Platform Version: stv2
Region: EAST US 2
Network: Internal VNET
apiVersionConstraint.minApiVersion : 2019-12-01
Action: azureApiManagement.debugPolicy
Error type: TypeError
Error Message: Cannot read properties of undefined (reading 'primaryKey')
Version: 1.0.6
OS: darwin
OS Release: 22.5.0
Product: Visual Studio Code
Product Version: 1.80.1
Language: en
Call Stack
extension.bundle.js:479:71081
OperationConsole.<anonymous> extension.bundle.js:479:71044
fulfilled extension.bundle.js:479:68637
Metadata
Metadata
Assignees
Labels
No labels
Activity
zakariazafar commentedon Jul 25, 2023
any update on this issue?
jayendranarumugam commentedon Aug 10, 2023
After some investigation, it seems this issue is happening only if the management api is
2019-12-01
. If i change this tonull
the issue is not happening. But the problem of this workaround will be security reason from msMicrosoft recommends to make this to value not null and keep it
2019-12-01
or higher The reason for this would beTo prevent service secrets from being shared with read-only users, the minimum API version should be set to 2019-12-01 or higher.
So i think we should not start practising the workaround by making the api version to null and fix the extension code to support the version 2019-12-01 and above
jayendranarumugam commentedon Sep 5, 2023
@DeagleGross / @malincrist / @quanterion thanks for fixing the issue. Is this part of any new release ? Is there a place we can check the changelog or release doc ?
malincrist commentedon Sep 8, 2023
Hello @jayendranarumugam , the fix will come with a new release. You can track GitHub releases or the changelog from the VSCode extension.