Ramon Martens Member since 2013 2 posts
BPM Company
Posted: 3 years ago
Last activity: 2 years 8 months ago

In a CONNECT-REST the response status text is not received

When I'm doing a POST request to a REST service by using a pega REST connector, it always returns a responsecode, like 200, 400, 500 etc, which is mapped to pyHTTPResponseCode.
Alongside the responsecode a REST service also returns a status text like "Bad Request", "OK", "Internal Error", "Not Found".

The external, proprietary, service we call does not send standard status texts, but sends custom status texts. For instance on status 400 it sends "Missing 'To' or 'Recipients' property" in stead of "Bad Request".

I would like to get that custom text, so i can show it to the user.

Is there a possibility to get this from pega somehow. I could not find it on any page (local page, param page, step page), see attachment.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Data Integration SR Parallel
Moderation Team has archived post
Share this page LinkedIn