Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @lvaldiva, would you provide me the steps to reproduce this problem, and which endpoint you're using to search for the activity?
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @runalyze, would you provide me the steps to reproduce this problem, and which endpoint you're using to search for the activity?
Best Answer
@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.
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@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
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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.
Best AnswerThanks - We are doing so now - Would be great if that problem would be added to the documentation!
Best AnswerHi Gordon,
Has this issue been resolved yet or is the solution to still use the Activity List endpoint?
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi everyone,
A fix for this problem is now available. You should get all recorded activities returned by the Get Daily Activity Summary.
Gordon
Best Answer