Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sudden change to the Web API?

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 Answer
0 Votes
6 REPLIES 6

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 Answer
0 Votes

@jamesmhaley please PM to me your app id so we can investigate this issue in more details for you.

Best Answer
0 Votes
Best Answer
0 Votes

Hey @jamesmhaley, have you tried making this same request via curl to see if you get the same error?

Best Answer
0 Votes

Was using postman. Was asked to send my app id, i've done that now. 

 

Any update on this?

Best Answer
0 Votes

@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
0 Votes