06-25-2019 08:01
06-25-2019 08:01
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
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-27-2019 19:34
Hi @Safo
I can reproduce this problem, so I've created a case 31008487 for investigation.
Best Answer