cancel
Showing results for 
Search instead for 
Did you mean: 

How to log the Raw request sent by HTTP Get snap to end point?

ddangler
New Contributor III

I have a HTTP GET snap to send requests to Zendesk API. But sporadically, it fails saying “REST API service endpoint returned error result: status code = 422, reason phrase = Unprocessable Entity, refer to the error_entity field in the error view document for more details

I would like to trouble shoot this further and want to log the actual raw request that is sent by REST GET snap to the end point. How do I do this? I looked at the Get snap documentation but didn’t find anything.

Can someone help me on this?

EDIT: I added error view for the HTTP GET snap and logging the output to a file. I am guessing this might give more details when it fails the next time.

9 REPLIES 9

del
Contributor III

Deter, I have a very similar enhancement request out to SnapLogic with ticket #21911 from December 2017 and community post from July 2017 Enhancement Request - UI capability to inspect communication request payloads. I haven’t followed up for any ETC.

ddangler
New Contributor III

Thanks. I replied to that post requesting consideration.

robin
Former Employee

I have used webhook testing sites like https://webhook.site/ and self-hosted tools like https://github.com/Runscope/requestbin to examine requests in detail.

del
Contributor III

Thanks @robin . I had also forgotten that you had suggested https://requestb.in/ in the past at REST GET/Post should allow for conditional parameters and @akidave suggested the same at How to change default array document structure? - #2 by ddangler. Neat tool that I just forgot about.