02-13-2016 11:30
02-13-2016 11:30
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.
---------------------------------------------------------
When sending user profile GET request, weight is 0 and though badges are not part of user profile data, it shows up?
Thanks.
Answered! Go to the Best Answer.
03-08-2016 14:26
03-08-2016 14:26
@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.
03-08-2016 13:14
03-08-2016 13:14
@JeremiahFitbitplease help!
03-08-2016 14:26
03-08-2016 14:26
@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.
03-08-2016 17:36
03-08-2016 17:36
@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!
03-08-2016 18:03 - edited 03-08-2016 18:10
03-08-2016 18:03 - edited 03-08-2016 18:10
Thanks for your response!
03-08-2016 18:08
03-08-2016 18:08
@AndrewFitbit I figured out what you meant by scope. Sorry about that!
Thank you for responding though!
03-09-2016 09:14
03-09-2016 09:14
Glad I could help.
06-09-2016 09:41
06-09-2016 09:41
I am facing the similar issue. How did you fix the issue?