SOLVED

Re: Adding Webhook Error log to email alert

Go to solution
Erik_Eaton
Level 3 - Champion Alumni

Adding Webhook Error log to email alert

Good Afternoon,

I am setting up an alert for when a web hook receives an error. I am using tokens to fill in the majority of the information. I would like to include the error such as "error 400, email not unique"

Is there anyway to accomplish this? I am particularly looking to add the "response" into the alert.

Cheers,

Erik

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Adding Webhook Error log to email alert

You can't send an HTTP-level 400 and capture the results; you have to send an HTTP 200 with an error object in the response. We do this and then write any error response to a field LastWebhookError.

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Adding Webhook Error log to email alert

You can't send an HTTP-level 400 and capture the results; you have to send an HTTP 200 with an error object in the response. We do this and then write any error response to a field LastWebhookError.

Erik_Eaton
Level 3 - Champion Alumni

Re: Adding Webhook Error log to email alert

Thank you Sanford!