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

Steps data in decimal

We are wondering if there is any recent change in the FitBit api that we have missed.  We are encountering the following problems:

  1. We are receiving step data from user devices in decimal format on our platform, but the values on the devices (FitBit App) are higher and do not match what we receive via API.
  2. When we disconnect and re-sync, the values are corrected, indicating that the issue lies with the auto-fetch background process at its set frequency.
  3. Manual re-syncing resolves the above discrepancy and we see no problem if we manually log any activity inside our FitBit app. 

Any insights will be helpful.

Thanks

Puneet

 

 

 

Best Answer
0 Votes
1 REPLY 1

Hi @Puneet2024 

I am not able to reproduce the situation where step data is being returned in decimal format.  What endpoint are you calling? 

There was a problem where the step values on the devices did not match the step value returned by the API, but I believe we fixed the problem.  Since the problem seems to be fixed when the user either disconnects and re-syncs or a manual re-sync occurs, I do have a few questions for you?

  1. Do you know how often the users, who see the discrepancy, are syncing their devices? 
  2. When did the problem begin?
  3. Are you seeing different step count when calling the Get Activity Time Series endpoint and using the resource "steps" vs "tracker/steps"?
Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes