Webhook's repeating same events
Hi,
I'm creating a row in smartsheet and after I save it , the webhook is being triggered multiple times and that too for the same events . I have made sure I return http status OK from my callback.
The same is happening when I attach any attachments , same events are being fired & my webhook callbacks my post api repeatedly unnecessarily with same events. Please let me know about the possible causes.
Answers
-
Hi @Heeba M
It sounds like perhaps your webhook answering code (the http "OK" status) is not responding correctly. When that's the case, if the webhook service doesn’t think it’s been correctly received it will re-try (which would cause multiple callbacks for the same event). Can you try using 202, "Accepted" instead, to see if this makes a difference?
You can find more information on webhooks in our API documentation (see here). Here's the section specific to Retry Logic.
Cheers,
Genevieve
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives