11-30-2022 17:35
11-30-2022 17:35
I'm having an issue where if I have a Fitbit device with steps already on it, and then I connect the Fitbit to a new Fitbit account, when I make my API call starting from midnight, my API call is only returning the number of steps taken since the account has been created. Is there any way around this or has anyone else seen this before?
Answered! Go to the Best Answer.
12-07-2022 18:59
12-07-2022 18:59
Thank you @JohnFitbit,
I ended up changing that intraday call to the 'get daily activity summary' endpoint and that fixed the problem. It seems to return the same daily step count as the Fitbit account, including the steps taken prior to account creation for the first day the account is made. I appreciate your reply nonetheless!
12-06-2022 17:15
12-06-2022 17:15
Hi @CarebitDev,
Historical data cannot be written on a Fitbit account before it's account creation date.
If you want to ensure that all the data is captured moving forward, the account should already be created beforehand, with the device paired to it, rather than recording the data while not associated to a Fitbit account.
However, if the Fitbit account that you are pairing the device to is at least 30 days old, that account will capture the last 30 days of summary totals the device recorded prior to pairing.
Let me know if this helps!
12-07-2022 18:59
12-07-2022 18:59
Thank you @JohnFitbit,
I ended up changing that intraday call to the 'get daily activity summary' endpoint and that fixed the problem. It seems to return the same daily step count as the Fitbit account, including the steps taken prior to account creation for the first day the account is made. I appreciate your reply nonetheless!