Hello there @PluginGenie and welcome to the community!
I hope you like it here 💪
Are you referring to the regular webhooks (as shown here)?
Yes, those are the webhooks I’m referring to.
Hi @PluginGenie!
I’m checking on this with our webhook team. I will get back to you with an update soon 🙂
Hi @PluginGenie!
I think you’d find this article useful: Error handling
Check it out to learn more about how to use codes to change your integration status, and also be able to display messages to users.
I hope this helps! 🙂
Thanks for the reply. I tried the error handling responses defined in the article, but I don’t think they work for API-generated webhooks.
What I specifically tried is returning a 401 and 402 response with the following body when the webhook endpoint was hit:
{
“severityCode” : 6000,
“notificationErrorTitle” : “This is the notification title of 6000”,
“notificationErrorDescription” : “This is the notification description of 6000”,
“runtimeErrorDescription” : “This is the activity log description of 6000”,
“disableErrorDescription” : “This is the disable message of 6000”
}
There were no errors in the webhook and the Automation Activity Logs indicated that the webhook ran successfully, even though I returned a 4XX response with a severity code.
My webhook is: “When an item is created, send a webhook”. Upon creating an item, the webhook executes, receives a 4XX response with the error message, then is marked as Successful in the Integrations Activity.
Hi @PluginGenie,
Thanks for your clarification!
As you’ve pointed out, this mechanism is not intended for API generated webhooks.