Sometimes you need to keep raw JSON (maybe even XML, didn’t try yet) response, not just mapping to pega clipboard. Lets say errors do not fit into your Pega Data Structure. For this Param.storeRawMessage=true should be passed to Connect-REST rule.

It can be done from Data Page or Activity Rule-Connect-REST.Invoke.

I know, it isn’t ideal, but there is no good extension point.

Store Raw Message

Nothing about this parameter in Pega Docs unfortunatelly.