10-26-2021 17:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-26-2021 17:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
We use Web API through webhooks. Our webhook had a bug and started sending 400 errors back to Fitbit. Fitbit policy is to disable webhooks that go above 10% of the error. The notification of this error is sent via email.
1) We know we should not be sending anything other than 200 or 204 back to Fitbit. However, mistakes do happen.
2) We want to operationalize this . All our service information is sent via slack (including Fitbit general outages). We don't we get this webhook disabled alert via slack as well?

- Labels:
-
Subscriptions API
11-01-2021 10:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



11-01-2021 10:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Peyman
I know Fitbit webhooks doesn't have direct integration with Slack. When the subscriber gets disabled, we do send an email to the application owner's email address. In that email account, you could create a rule to forward the email to slack. I found these articles that might help you set it up
https://slack.com/slack-tips/send-email-to-slack
https://www.howtogeek.com/709377/how-to-send-or-forward-an-email-directly-to-slack/
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

