Is there a way to extract optional variables from JSON payload using Extract variables.
if so can you please provide an example.
I am able to successfully extract variables from JSON Payload, When optional values are not passed, I am getting an error.
I think this link might help: http://docs.apigee.com/api-services/reference/extract-variables-policy#ignoreunresolvedvariableselem...
Hi @Pradeep Ande In your Extract Variables policy, set the "IgnoreUnresolvedVariables" to true. This will treat any unresolvable variable (optional variable) as an empty string (null). Check the docs here for e.g.