02-12-2016 03:20 - edited 02-12-2016 03:48
02-12-2016 03:20 - edited 02-12-2016 03:48
Hi,
I am calling this url to get steps count.
https://api.fitbit.com/1/user/-/activities/steps/date/today/1d/1min/time/14:43/16:43.json
But it returns
{"errors":[{"errorType":"insufficient_permissions","message":"API client is not authorized by Fitbit to access the resource requested. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}
I obtain my access_token before calling this service.
Please help.
Answered! Go to the Best Answer.
02-12-2016 10:25
02-12-2016 10:25
Hey @workoutwith, the error you're getting means you don't have access to Intraday Time Series. For more info on how to get minute and second level data, I'd suggest checking out this thread here.
Hope that helps.
02-12-2016 10:25
02-12-2016 10:25
Hey @workoutwith, the error you're getting means you don't have access to Intraday Time Series. For more info on how to get minute and second level data, I'd suggest checking out this thread here.
Hope that helps.