Adding Webhook Error log to email alert | Community
Skip to main content
Erik_Eaton
New Participant
August 17, 2017
Solved

Adding Webhook Error log to email alert

  • August 17, 2017
  • 1 reply
  • 2071 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

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.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
August 18, 2017

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
New Participant
August 18, 2017

Thank you Sanford!