I am getting a "invalid_access_token" when trying to generate a new token, after the first token has been revoked, e.g. log out, then log back in again. I am using API V2 on Android.
First
DropboxClientFactory.init(XYZ.getApiToken());
DbxClientV2 dbxClientV2 = DropboxClientFactory.getClient();
dbxClientV2.auth().tokenRevoke();
Then running through the oAuth flow again and obtaining the new (verified as different token) and finally calling:
DropboxClientFactory.init(Auth.getOAuth2Token());
DbxClientV2 dbxClientV2 = DropboxClientFactory.getClient();
dbxClientV2.users().getCurrentAccount()
I hit the invalid access token.
The first pass works fine, but after I revoke and regenerate I am stuck in a loop as the oAuth keeps failing.