06-02-2019 23:00
06-02-2019 23:00
Hi,
we have a user who has a device for which we have created a valid subscription. The user is syncing data and the data appears on thei fitbit.com website page as well as the app. On our end we are getting the notifications. But the data values from fitbit API endpoint (eg https://api.fitbit.com/1/user/<user-id>/activities/date/2019-05-29.json) always contains zero values for all data points, like steps.
requesting some help with figuring out the issue with this
06-03-2019 16:16
06-03-2019 16:16
Hi @mishal153,
It sounds like your subscriptions notifications are working just fine.
However, if you are seeing zero values for all data points, such as steps; it is likely the user has not provided consent/revoked consent to your application to access the data points mentioned in the Authorization page.
Can you confirm if this user had provided consent to access their data? You may need to ask this user revoke access to your application and go through the authorization flow one more time and ensure that they enabled all the scopes for the data you need.
I hope this helps!