apigee-access package error `KeyValueMap is not available in this version' + e`

haitong
Participant I

Hi guys,

I see that apigee-access package is 3 years old since last updated but the current docs still refer to it. Anyway, after deploying my hosted package, and used apigee-access to retrieve my KVM, i get the error `KeyValueMap is not available in this version' + e`.

The comments in the code says

// We will get here if not on Apigee or on an older version

Am I using the wrong package here or am I missing something?

code line to get the kvm


apigee.getKeyValueMap('AWS-Cred', 'environment');

Thanks.

Solved Solved
0 2 240
1 ACCEPTED SOLUTION

Weird.

I just answered the same question yesterday. Please see this answer.

In short, don't use apigee-access to read KVM.

But are you following some sort of tutorial or example? If so, we should update it to reflect the current guidance on apigee-access. Please direct me to the url home page of the tutorial.

View solution in original post

2 REPLIES 2

Weird.

I just answered the same question yesterday. Please see this answer.

In short, don't use apigee-access to read KVM.

But are you following some sort of tutorial or example? If so, we should update it to reflect the current guidance on apigee-access. Please direct me to the url home page of the tutorial.

Thanks i was looking through the community forum but didn't see the question. Thanks Dino.