Question

1
Replies
1863
Views
Close popover
Kevin Elrod (KevinE30)
Cisco

Cisco
US
KevinE30 Member since 2017 2 posts
Cisco
Posted: January 25, 2019
Last activity: March 20, 2019
Closed

Connect-REST Response Headers

Greetings,

I have an application that calls another API. That API will return a certain header which I wish to capture, but the header is only returned if the status is 429. If I list the header in the Connect-REST rule (in the response header table) then the rule will fail if the header is missing in the actual HTTP response. The error it gives is "error mapping inbound data".

How can I capture a header in the Connect-REST rule that only exists on certain occasions?

Thanks

I am on Pega version 7.4

***Edited by Moderator Marissa to update platform capability tags****

Data Integration
Moderation Team has archived post