We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Aibek D.
10 years agoNew member | Level 1
[SwiftyDropbox] Storing v2 accountId in DropboxAccessToken instead of v1 userId
Not really a critical issue, but for our project it brought some inconveniences. So, currently DropboxAccessToken stores user id from API v1, while Users.Account.accountId stores API v2 account id. ...
fengzhazha
9 years agoNew member | Level 2
Hi Greg,
Are you saying that userID is sufficient to distinguish a unique Dropbox account? As our product were storing this information(userID) since V1, it is difficult for us to switch to another value(accountID) now unless we drop all our exisitng connected Dropbox accounts.
Thank you for the help.
Chao
Greg-DB
Dropbox Community Moderator
9 years agoYes, both user ID and account ID uniquely identify Dropbox accounts.
By the way, you can call getCurrentAccount (or the equivalent method/endpoint in your platform) for each stored account to map from user ID to account ID.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!