06-25-2019 08:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-25-2019 08:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hey,
I'm trying to use the create meal API in order to create a meal and I'm having issues even running the example from the docs:
https://dev.fitbit.com/build/reference/web-api/food-logging/
GET to the following URL works (return empty list)
but POST with this data returns 400 with no explanation why.
that's the POST data (tried also with integers).
{'Description': 'Typical sunday brunch',
'mealFoods': [{'amount': "2.00", 'foodId': "80851", 'unitId': "111"}],
'name': 'Sunday Brunch'}
06-27-2019 19:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-27-2019 19:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Safo
I can reproduce this problem, so I've created a case 31008487 for investigation.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

