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

heartRateZones not showing minutes in the zone

ANSWERED
I am getting the daily heartrate summary back but its not showing calories or minutes in the zones? I am not sure what I am doing incorrectly as just knowing the max and min heartrates does not help? 
 
"activities-heart":[   
        {
            "dateTime":"2020-12-15",
            "value":
                {
                    "customHeartRateZones":[],
                    "heartRateZones":[
                        {
                            "max":85,
                            "min":30,
                            "name":"Out of Range"
                        },
                        {
                            "max":119,
                            "min":85,
                            "name":"Fat Burn"
                        }
                        ,{
                            "max":145,
                            "min":119,
                            "name":"Cardio"
                        },
                        {
                            "max":220,
                            "min":145,
                            "name":"Peak"
                        }
                        ]
                }
        },
Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

That is correct.  If the user does not have any heart rate data due to wearing a device that doesn't support HR or they stopped wearing their device, the output you received will be returned.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

Hi @FitVaultWeld 

 

The endpoint you're calling is requesting the heart rate data for today (2021-01-14), however the output you provided shows the date (2020-12-15).   Would you please confirm the endpoint and data output?  Typically the output you see occurs if there is no heart rate data available.   I would recommend confirming if heart rate data exists on 2020-12-15.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hi @GordonFitbit 

 

Thank you for the response, apologies for sending the incorrect dates data this was just an example of what we are receiving for all days for the user. From what I understand from your response is that if the user does not have a device that has HR or has no HR data then that is the default response i.e. an object defining the zones reference data in it each time? 

Best Answer
0 Votes

That is correct.  If the user does not have any heart rate data due to wearing a device that doesn't support HR or they stopped wearing their device, the output you received will be returned.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes