08-02-2016 11:07
08-02-2016 11:07
We have a batch job which syncronizes data from fitbit to our portal and we are experiencing issues. We are seeing below error in our logs for a user:
{"errors":[{"errorType":"invalid_grant","message":"Refresh token invalid: [access_token]"}],"success":false}
And for the same user the token works the following day with out any issues.
We would like to know if this is a known issue from fitbit end?
Are you any ther users experiencing same issue?
Answered! Go to the Best Answer.
08-02-2016 16:36
08-02-2016 16:36
You can contact private support with the timestamp of your request, the refresh token you sent to Fitbit, and the Fitbit user id.
In every case that we've investigated so far, this is a correct error resulting from an application using the refresh token more than once.
08-02-2016 11:08
08-02-2016 11:08
We are using refresh token to fetch new access token and we are using OAUTH2.0 framework.
08-02-2016 16:36
08-02-2016 16:36
You can contact private support with the timestamp of your request, the refresh token you sent to Fitbit, and the Fitbit user id.
In every case that we've investigated so far, this is a correct error resulting from an application using the refresh token more than once.