Getting Error using Oauth to connect to Apigee

Not applicable

I am trying to connect to Apigee for Kafka services from my Salesforce instance. I am getting the below error trying to get the auth token:

{"fault":{"faultstring":"XMLToJSON[Products-to-JSON]: Source AccessEntity.ChildNodes.Access-App-Info.App.Credentials.Credential.ApiProducts is not available","detail":{"errorcode":"steps.xml2json.SourceUnavailable"}}}

Using the same parameters I am able to get the token using Postman. Is there some configuration I am missing? I have added the token url to my Remote Site Settings.

Appreciate your help.

1 1 165
1 REPLY 1

@kava sahu

This is an error thrown from XMLToJSON Policy. It indicates that the variable AccessEntity.ChildNodes.Access-App-Info.App.Credentials.Credential.ApiProducts is not available doesn't exist or is not available in the specific flow where you are trying to access it from XMLToJSON policy.

Read more on how to resolve this error in this Policy Error Playbook.