01-23-2018 08:03 - edited 01-23-2018 08:31
01-23-2018 08:03 - edited 01-23-2018 08:31
Hey gang,
Yesterday our app was working with no issues, and today the Fitbit API is firing back the following message. We've changed no code, so wondering if there has been a change in the API?
{ message: 'validation',
data:
{ errorType: 'validation',
fieldName: 'resource path',
message: 'Invalid time series resource path: /activities/tracker/elevation' } }Any reason your end why this would happen?
Best Answer01-23-2018 08:09
01-23-2018 08:09
Looking further into it, this url fails.
https://api.fitbit.com/1/user/-/activities/tracker/elevation/date/today/1y.json
Even though it is listed at https://dev.fitbit.com/build/reference/web-api/activity/#browse-activity-types.
Other endpoints work fine, like
activities/tracker/calories
Best Answer01-23-2018 15:55
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.
01-23-2018 15:55
@jamesmhaley please PM to me your app id so we can investigate this issue in more details for you.
Best Answer01-24-2018 02:04
01-24-2018 02:04
@IoanbsuFitbit done.
Best Answer01-25-2018 13:22
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.
01-25-2018 13:22
Hey @jamesmhaley, have you tried making this same request via curl to see if you get the same error?
Best Answer02-12-2018 02:38
02-12-2018 02:38
Was using postman. Was asked to send my app id, i've done that now.
Any update on this?
Best Answer02-13-2018 08:15
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.
02-13-2018 08:15
@jamesmhaley I got your clientId and checked if your app possible had a problems and didn't find any.
As @DavidSFitbit suggested please try to run the same request using curl. Please check out this page https://dev.fitbit.com/apps/oauthinteractivetutorial - it will help you setting up CURL command.
Best Answer