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

Unable to retrieve Weight

ANSWERED

Hi,

 

I'm trying to retrieve user data.

Sending 'GET' request to URL for user profile: https://api.fitbit.com/1/user/-/profile.json
Response Code : 200

 

I get all the data I need except weight.

---------------------------------------------------------

  ],
      "weight":0,
      "weightUnit":"METRIC"
   }
}
---------------------------------------------------------

When sending user profile GET request, weight is 0 and though badges are not part of user profile data, it shows up? 

 

Thanks.

Flex | Charge HR | Surge | Windows Phone | Android | OnePlus
Best Answer
1 BEST ANSWER

Accepted Solutions

@ceeeni If the app doesn't have access to weight, it will return 0. Might want to check if you're granting access to the weight scope.

Andrew | Community Moderator, Fitbit

What motivates you?

View best answer in original post

Best Answer
0 Votes
7 REPLIES 7

@JeremiahFitbitplease help!

Flex | Charge HR | Surge | Windows Phone | Android | OnePlus
Best Answer
0 Votes

@ceeeni If the app doesn't have access to weight, it will return 0. Might want to check if you're granting access to the weight scope.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes

@AndrewFitbit in my profile, I have enabled Anyone to view Weight vs Target Weight option. Is there some other place where I need to grant access?

Thank you!

Flex | Charge HR | Surge | Windows Phone | Android | OnePlus
Best Answer
0 Votes

Thanks for your response!

Best Answer
0 Votes

@AndrewFitbit I figured out what you meant by scope. Sorry about that!

Thank you for responding though! Man Happy

Flex | Charge HR | Surge | Windows Phone | Android | OnePlus
Best Answer
0 Votes

@ceeeni @Neha11 No problem! Smiley Happy

 

Glad I could help.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes

I am facing the similar issue. How did you fix the issue?

Best Answer
0 Votes