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

Remove subscriptions

Hi all, 

We have a couple of users who use our platform infrequently and haven't been seen for a while but we are still getting subscription notifications about their activities. However, their access tokens expired and for some reason their refresh tokens are invalid. How can we remove subscriptions for such users?

Because of the lack of valid access tokens and refresh tokens pairs, we cannot use Revoke Token endpoint, Get Subscriptions endpoint, Delete Subscription endpoint. 

Below refresh tokens are invalid and we cannot sync any activities for those users: 

ad2a9c6b013a500e8d5019173bfd7c98c46c6fb294676531ff855956714167e4

1506759741657308a68480500286b2a59c2698539254bbb8f62111e07f93efc4

8747e10a9c44edc986f15cbf6154661baec5fb41282531e9d24590b0b752d4a6

15039ed838439af6d882f3e9c106abcfdd87df9f522652cca10d24eca3346b01

f0144b457dae5ec93f41bf4e34c9c74dcec87517bbf16402d5adbc2590ed9243


When using Refresh Token resource, we get the following error:
{"errors":[{"errorType":"invalid_grant","message":"Refresh token invalid: 1506759741657308a68480500286b2a59c2698539254bbb8f62111e07f93efc4. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}

Thanks, 
Marcin Karmelita

Best Answer
0 Votes
5 REPLIES 5

Hi @krml,

 

Looks like your application may have lost sync with the latest tokens for these users. There's no way to remove the subscriptions without having a valid access_token unfortunately. You'll have to reach out to these Fitbit users and ask them to go through your authorization flow again to obtain a new access_token and refresh_token pair. The new tokens will override your desynced tokens and you'll be able to remove the subscriptions from their account.

 

Let me know if you have any additional questions.

Best Answer
0 Votes

Hi @JohnFitbit

Thanks for the quick reply. I have already tried reaching out to those people, but unfortunately, they ignored my messages. Most likely they abandoned our platform. 

Is there a way you can help me remove those Fitbit users' subscriptions? 

Cheers.

Best Answer
0 Votes

Hi @JohnFitbit

We contacted those users several times but they ignore our requests.

Is there a chance that you can remove those subscriptions for me, please?

Thanks! 

Best Answer
0 Votes

@krml Sorry to hear that. I'll create a support case for you and I'll see what we can do for you. Is it okay if I contact you with the email associated to your Fitbit account?

Best Answer
0 Votes

@JohnFitbit yes, please use this email address. Thanks!

Best Answer
0 Votes