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

Activity added via web portal meant to trigger a notification?

ANSWERED

Hello - I am looking into an issue where one of our users is logging activity in the fitbit web portal but the activity is never recorded by our system. However, activities logged outside of the web portal are recorded by our system.

Can someone confirm if a user adding an activity via the web portal is supposed to trigger a notification to the webhook for the subscription?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

OH!   I vaguely remember there were two ways to add activities through Fitbit.com, and one might not have triggered a notification.   I couldn't find the information on it right now, but I believe it is something like 

 

Screenshot 2022-12-16 at 1.52.15 PM.png

Would you double-check with your user how they are manually entering activities?

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
6 REPLIES 6

Hi @JaredMFP 

 

Yes, if the user added, updated or deleted data in the Fitbit web portal, this should trigger a webhook notification for your application.   To start troubleshooting this problem, try the following

 

  1. Call Get Subscription List to verify you have a subscription for this user.
  2. Check your subscriber configured at https://dev.fitbit.com/apps to make certain it is still enabled.
  3. Verify the user doesn't have multiple accounts by following the instructions here.   If they are sure they consented to share their data, then I suspect they are logged with a different user id in the web portal than the one you have.
  4. If the web portal shows the correct user id, then in the web portal have the user go to their settings and click on "Applications".  They should see your application listed as consenting to share data.   If not, they should go through your authorization flow again.
Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer

@Gordon-C Thanks for the reply / troubleshooting steps. 

I went through all 4 steps and everything seems correct.

The user has a subscription to our service in their list, the subscriber endpoint is configured correctly in the dev dashboard, the user id for their account is the same one we have in our system, and they have authorized to share data with our application. 

Any other tips would be appreciated! Thank you!

Best Answer
0 Votes

OH!   I vaguely remember there were two ways to add activities through Fitbit.com, and one might not have triggered a notification.   I couldn't find the information on it right now, but I believe it is something like 

 

Screenshot 2022-12-16 at 1.52.15 PM.png

Would you double-check with your user how they are manually entering activities?

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

@Gordon-C - That is good to know! Will document that on my side for future reference. 

I have confirmed that the user is logging activities via the "common activities" section. 

To confirm: Using one of the blue tiles (The farthest left one for "Walk" was what the user entered), a webhook should be sent? 

Best Answer
0 Votes

@Gordon-C - Just wanted to follow up on this to see if you had any other thoughts on this?

Best Answer
0 Votes

Hi @JaredMFP 

 

Yes, activities logged using the blue boxes will also send a webhook.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer