11-04-2017 08:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-04-2017 08:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I followed the documentation for retrieving a user's sleep goal (v1.2) here: https://dev.fitbit.com/reference/web-api/sleep/#get-sleep-goal
Everything had previously been working fine using the resulting goal.minDuration field, but recently I found that one user is getting back a different response that doesn't match the documentation - it includes fields goal.bedtime and goal.wakeupTime and excludes the goal.minDuration field. I would expect this change to require a new version of the sleep goal api since it is not additive/breaks the 1.2 contract.
Anyone else running into issues with this?
