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?
01-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
01-23-2018 15:55
01-23-2018 15:55
@jamesmhaley please PM to me your app id so we can investigate this issue in more details for you.
01-24-2018 02:04
01-24-2018 02:04
@IoanbsuFitbit done.
01-25-2018 13:22
01-25-2018 13:22
Hey @jamesmhaley, have you tried making this same request via curl to see if you get the same error?
02-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?
02-13-2018 08:15
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.