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.
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.
@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
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.
@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