Hello all,
We are not getting intraday heart rate data for one user DURING the time he does an intentional exercise. The data for all other minutes is coming in.
Data for all other users is consistently coming in without any gaps except for this one user. Has anyone faced a similar situation before? Any idea what could be the reason? The user is using a Fitbit Charge 4 and has custom heart rate zones defined.
Thanks in advance.
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 @srtninc
Would you please post the endpoint you're executing to get this user's intraday heart rate data? If the endpoint contains the user id, please redact it.
Gordon
Best Answer
Sample request:
https://api.fitbit.com/1.2/user/-/activites/heart/date/2022-06-12/2022-06-12.json
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.
The correct syntax for retrieving a user's intraday heart rate data can be found at https://dev.fitbit.com/build/reference/web-api/intraday/get-heartrate-intraday-by-interval/.
Best AnswerThank you for your response.
May I ask why the api that we are using is not giving full data for one user but giving data for all other users?
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 @srtninc
The heart rate intraday syntax you're using is incorrect. I'm not sure why it is working for your other users, but you should fix the syntax for all users.
Gordon
Best Answer