03-28-2018 07:58 AM
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.
03-28-2018 09:27 AM
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.
03-28-2018 01:22 PM
Thanks. I replied to that post requesting consideration.
03-28-2018 03:51 PM
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.
03-28-2018 04:14 PM
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.