Unable to retrieve custom attributes added to a product during through api flow.

We added a custom attribute in api product and tried to reference it in the spike arrest. The Spike Arrest is placed after the verify API key step but during tracing always shows the custom attribute variable as blank.

Rate ref="verifyapikey.VerifyAPIKey.VerifyAPIKey.apiproduct.myrate"/>

screen-shot-2018-03-21-at-42128-pm.png

Any idea what we are missing?

0 2 242
2 REPLIES 2

Hi @Anvi

Please enable trace, and click your VerifyAPIKey policy to see the variables that are populated. You should find the value, if you dont see it, the naming convention is mentioned in the docs here

In your case, the variable name is verifyapikey.{policy_name}.apiproduct.myrate

If your policy name is "VerifyAPIKey" then the flow variable is verifyapikey.VerifyAPIKey.apiproduct.myrate

Please check if that works.

Not applicable

hi Anvi,

Good day.

please advise is this an on premise or a cloud version ?

also, let me know the version of the EDGE ui being used.

Thank you,

Regards,

Sreenivas S P