Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Subscriptions: receive too many notifications from Fitbit.

ANSWERED

Hello,

I am facing a problem with one user receiving too many requests. When I checked the logs, I found that this user received approximately 30000 notifications in just 7 days. Additionally, I noticed something strange: the data for DateFrom and DateTo is outdated, for example, DateFrom and DateTo is 2024 As a result, many APIs are reaching their limits for this user. Does anyone know the cause of this issue or how we can resolve it? Thank you for your attention.

hyhuu99_0-1746783752100.png

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

@hyhuu99 

I have seen problems where historical notifications are being sent.  This has been caused by numerous issues, whether a 3rd party application connected to the user's same account is excessively syncing, the Fitbit mobile app is excessively syncing, or a problem with our subscription service.  Without your client ID and user IDs, I won't be able to investigate the problem fully.   If you want to address the inbound notifications, you can try a few things.

  1. You could try disconnecting your subscriber and reconnecting it; then delete the subscription for each user and re-create it.
  2. For historical notifications, throw out the notifications received that are older than 1 - 2 weeks old.
  3. For current notifications, you could track the inbound notifications and throw out what appears to be duplicates.  Then call the necessary endpoints about every 15 minutes to 1 hour.  The rate limit resets at the top of the hour.

View best answer in original post

Best Answer
4 REPLIES 4

Hi @hyhuu99 

My apologies for the delay getting back to you.   I want to find out if you are still receiving an excessive amount of notifications for this specific user?

Gordon

Best Answer
0 Votes

Hi 

I'm still receiving numerous messages from Fitbit. While I can't provide a user ID, I can show you a message I received from one user in a single day. For example, one user received 4,065 push notifications in just one day. Although we have a process in place to retry messages, 4,000 is an excessive amount and could lead to hitting limits repeatedly. Do you have any suggestions for addressing this issue? Thank you for your help.

hyhuu99_0-1751448092066.png

 

Best Answer
0 Votes

@hyhuu99 

I have seen problems where historical notifications are being sent.  This has been caused by numerous issues, whether a 3rd party application connected to the user's same account is excessively syncing, the Fitbit mobile app is excessively syncing, or a problem with our subscription service.  Without your client ID and user IDs, I won't be able to investigate the problem fully.   If you want to address the inbound notifications, you can try a few things.

  1. You could try disconnecting your subscriber and reconnecting it; then delete the subscription for each user and re-create it.
  2. For historical notifications, throw out the notifications received that are older than 1 - 2 weeks old.
  3. For current notifications, you could track the inbound notifications and throw out what appears to be duplicates.  Then call the necessary endpoints about every 15 minutes to 1 hour.  The rate limit resets at the top of the hour.
Best Answer

Yes, I think I will follow your recommendation. Thank you so much for your support.

Best Answer
0 Votes