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

One user's activity data via activity subscription is never pushed to us.

ANSWERED

I have one FitBit user out of about 1500 whose activity data isn't being pushed to us.  She says her data quit being pushed to our application sometime ago when she changed from her Ultra to a Charge -- ever since, she's been using our application's "fetch Fitbit data" button to pull data from Fitbit.  I looked at her subscriptions via the API and she had an activities subscription to have her activity data pushed to us.

 

I decided to deauthorize our application, make sure our application was revoked from her FitBit Settings -> Applications page, reauthorize our application via the API, and resubscribe her Fitbit account via the API to activities to have her activity data pushed to our application.  I believe all looks well, our application has permission and she has an activities subscription, but her data still isn't being pushed to our application.

 

Any suggestions for what to look at?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hello Ivan - Thanks for the reply.  I should have returned and cleaned up this thread when I got the user's push working again -- I'll do so now.

 

Fit bit is pushing data to us now for this user's account.  What I did was (a) methodically back out all links between our system and her Fitbit account and (b) re-establish them.

 

- deleted her activities subscription via the api

- deleted her Fitbit records from our system

- revoked our application's access to her account in Fitbit (Settings -> Applications, she had two entries)

- granted our application access to her account (OAuth Athentication)

- re-subscribed her to activities pushes

 

... and all worked well after that.  The only difference I remember is revoking access to two application entries.

 

Kind regards.

 

Jay

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Check what this API endpoint returns for that user:

https://api.fitbit.com/1/user/-/apiSubscriptions.json

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer

Hello Ivan - Thanks for the reply.  I should have returned and cleaned up this thread when I got the user's push working again -- I'll do so now.

 

Fit bit is pushing data to us now for this user's account.  What I did was (a) methodically back out all links between our system and her Fitbit account and (b) re-establish them.

 

- deleted her activities subscription via the api

- deleted her Fitbit records from our system

- revoked our application's access to her account in Fitbit (Settings -> Applications, she had two entries)

- granted our application access to her account (OAuth Athentication)

- re-subscribed her to activities pushes

 

... and all worked well after that.  The only difference I remember is revoking access to two application entries.

 

Kind regards.

 

Jay

Best Answer
0 Votes