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

When posting bodyfat percent using the API, I cant see it in the app

I do a POST on this url and get a nice 201 in return:


https://api.fitbit.com/1/user/9W3PYS/body/log/fat.json?fat=10.00&date=xxxxxx&time=10:30:30

{"fatLog":{"date":"xxxxxx","fat":10,"logId":1669199430000,"source":"api","time":"10:30:30"}}

But when I check the app, I see nothing.
I can add body weight entries, no problem.
https://api.fitbit.com/1/user/9W3PYS/body/log/weight.json?weight=95.00&date=xxxxxx&time=10:32:59
{"weightLog":{"bmi":26.04,"date":"xxxxxx","logId":1669199579000,"source":"API","time":"10:32:59","weight":95}}

And when I look in the app for that entry, it shows that it was a Manual entry in the app.

So, please help me get the body fat shown in that app.
And if it could say that measurements came from an api, that would be great.

 

Br

Søren

Best Answer
0 Votes
2 REPLIES 2

Hi @Lance-Uppercut 

 

Thank you for reporting this problem.   I've tested it and are seeing the same problem as you are.  After POSTing your body fat, you should get be able to GET your body fat using the Get Body Fat endpoint to see the new value.   It's just not showing up in the mobile application.

 

So, I'm going to file a bug to engineering to have it fixed. I do not know when the problem will be fixed since it'll be prioritized among other issues.   Once it is, I will let you know.

 

Best,

Gordon

 

 

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

Sound like a plan.

I got it working with a workaround.

I post the weight first, then I do a get on the weight and post the bodyfat using the same timestamp.
Then it shows nicely in the app.
If you have an alexa, you can try it out in my awesome skill Unofficial fitbit weight recorder 

Best Answer
0 Votes