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

Web Api not showing data from device

Hi, I'm getting activities from the api, if the user doesnt register the data from a mobile phone doesnt show in the response, any suggestions how can I get these data?

Best Answer
0 Votes
11 REPLIES 11

I have the same - I don't know when the activities are missing, but the user recoreded the activity with "IONIC" and we don't see the activity list for that day (yesterday)

Best Answer

Hi @lvaldiva, would you provide me the steps to reproduce this problem, and which endpoint you're using to search for the activity?

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

Hi @runalyze, would you provide me the steps to reproduce this problem, and which endpoint you're using to search for the activity?

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

@Gordon-C wrote:

Hi @runalyze, would you provide me the steps to reproduce this problem, and which endpoint you're using to search for the activity?


It's okay. As I wrote privately, I always thought that if you subscribe to "activities", you will get activities, not daily data like steps. So everything is fine here 🙂 Forgot that I answered in this thread.

Best Answer

Hi thanks for answering, I was using another endpoint after some searching in this forum I found that with this endpoint

 

https://api.fitbit.com/1/user/%s/activities/list.json&afterDate=%s&offset=%d&limit=%d&sort=desc

 

I can get all activities even the steps if the activity allows it.

 

Best regards

Best Answer
0 Votes

@lvaldiva Thanks for the hint!

@Gordon-C So - I still have the problem: So I use 

GET https://api.fitbit.com/1/user/[user-id]/activities/date/2019-02-17.json

but I don't get activities listed for e.g. today.

if I use:

https://api.fitbit.com/1/user/%s/activities/list.json&afterDate=2019-02-17

I get activities. Why?

 

Best Answer
0 Votes

There is a known problem where activities are not being returned from the Get Daily Activities Summary endpoint.  Please use the Get Activities List as a workaround until the problem is resolved.

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

Thanks - We are doing so now - Would be great if that problem would be added to the documentation!

Best Answer
0 Votes

Hi Gordon,

 

Has this issue been resolved yet or is the solution to still use the Activity List endpoint?

Best Answer
0 Votes

Hi @DUB-IT ,

 

A fix is not available for this problem, yet.  The solution to use the Get Activities Log List endpoint should still be used.   All activities (tracker, manual, auto_detected, 3rd party, etc) should be available through the Get Activities Log List endpoint.

 

Gordon

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

Hi everyone,

 

A fix for this problem is now available.   You should get all recorded activities returned by the Get Daily Activity Summary.  

 

Gordon

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