I’m trying to use a key-value map in my proxy. While initializing the Key-value pair using Parameter Ref as key, it is throwing an error saying “Invalid Key Names for entries”.
My code snippet:
<InitialEntries> <Entry> <Key> <Parameter ref="key_name_variable"></Parameter> </Key> <Value>xx</Value> </Entry> </InitialEntries> But when i referred the Document :http://apigee.com/docs/api-services/reference/key-value-map-operations-policy
It contains the same format. Snippet from the Document:
<InitialEntries> <Entry> <Key> <Parameter>key_name_literal</Parameter> </Key> <Value>v1</Value> </Entry> <Entry> <Key> <Parameter ref="key_name_variable"></Parameter> </Key> <Value>v3</Value> <Value>v4</Value> </Entry> </InitialEntries> Please let me know if anyone has faced the same problem or how can it be resolved.