10-17-2017 15:40
10-17-2017 15:40
Hello! For my university thesis project, i'm doing a web application. The application downloads data of a small number of volunteer patients. I needed the intraday data and for this reason I contacted Fitbit for have the access to the intraday time series. The Fitbit answer was "Your application sholud now have access".
Ok.. the problem is that today I sent this request: "https://api.fitbit.com/1/user/62VPDJ/activities/list.json?afterDate=2017-05-22&sort=asc&limit=50&off..."
where 62VPDJ was a volunteer's encodedId.
In eclipse, the answer was: java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.fitbit.com/1/user/62VPDJ/activities/list.json?afterDate=2017-05-22&sort=asc&limit=50&off...
I don't understand why. Can someone help me? Thank you:)
10-17-2017 22:31
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.
10-17-2017 22:31
@daianabellama, the 403 normally returned when you try to make request to the resource you don't have access to. Also response from Fitbit most likely will return an error message explaining why you received back 403. Can you please post what the body of the response that generates 403?
Best Answer