04-17-2018 02:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

Jogger
1
0
0
04-17-2018 02:28
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
When I try to write a activity via web API, I get the following error:
{ "errors": [ { "errorType": "request", "fieldName": "n/a", "message": "Either \"activityId\" or \"activityName\" should be present" } ] }
HTTP Request: https://api.fitbit.com/1/user/-/activities.json
Body:
{ "activityId": 90013, "manualCalories": 300, "startTime": "15:00:00", "durationMillis": 1980000, "date": "2018-04-09", "distance": "5.2" }
0 REPLIES 0
