11-02-2015 11:48 - edited 11-02-2015 12:00
11-02-2015 11:48 - edited 11-02-2015 12:00
This url returns data as expected:
https://api.fitbit.com/1/user/-/activities/steps/date/2015-07-01/2015-11-02.json
However this url returns an error:
https://api.fitbit.com/1/user/-/activities/floors/date/2015-07-01/2015-11-02.json
string(133) "{"errors":[{"errorType":"validation","fieldName":"resource path","message":"Invalid time series resource path: /activities/floors"}]}"
If the user does not have a tracker which calculates floors is the api intended to return this error? I have not tested with a tracker which calculates floors yet.
Answered! Go to the Best Answer.
11-02-2015 17:48
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.
11-02-2015 17:48
@mangolassi wrote:
If the user does not have a tracker which calculates floors is the api intended to return this error? I have not tested with a tracker which calculates floors yet.
Correct. The person needs to have added a device with an altimeter at some point.
Best Answer11-02-2015 17:48
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.
11-02-2015 17:48
@mangolassi wrote:
If the user does not have a tracker which calculates floors is the api intended to return this error? I have not tested with a tracker which calculates floors yet.
Correct. The person needs to have added a device with an altimeter at some point.
Best Answer