11-23-2018 02:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-23-2018 02:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I've implemented aAuth for login in Android app.
I'm able to access the sleep data for the user who is logged in but I'm not able to access sleep data of child through API. I get following error.
{
"errors": [
{
"errorType": "insufficient_permissions",
"message": "API client is not authorized by the resource owner to access the resource requested. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."
}
],
"success": false
}
Any clues?
Answered! Go to the Best Answer.
Accepted Solutions
12-07-2018 11:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



12-07-2018 11:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@SushilKadu, we don't expose kids data through the Web APIs.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

11-26-2018 12:59 - edited 02-22-2019 16:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


11-26-2018 12:59 - edited 02-22-2019 16:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I'm not sure if it is possible, but you might need to be logged into the child's account.
The error you see says that the Child has not have access to your script.
11-28-2018 02:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-28-2018 02:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
So I'm logged in as parent and trying to access sleep data for child thats when error is thrown. But i'm able to access steps data for child.

12-07-2018 11:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



12-07-2018 11:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@SushilKadu, we don't expose kids data through the Web APIs.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

04-28-2020 06:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-28-2020 06:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Why not? Either you trust your security framework or you don’t... it still requires a authenticated session. If you don’t trust it, then you shouldn’t be selling it and marketing it to kids (or adults for that matter).
