scottdurow / RibbonWorkbench

Ribbon Workbench 2016 for Dynamics 365
https://ribbonworkbench.uservoice.com/
MIT License
72 stars 24 forks source link

Return Body of Error from WebHook #67

Open sgraflund opened 3 years ago

sgraflund commented 3 years ago

Hi Scott,

I'm using a webhook to execute a power automate flow. However, I can't track the error returned and display it to the client.

I'm responsing 200 OK for success, but a 404 with an error message in the body for the error.

How can I get the body of the response in the error callback?

RomenKlaassen commented 2 years ago

I have the exact same question. Seems like the response-object is hidden very well in the javascript and we cannot access it. It would help if Scott could explain if we can get access to the response object and how.