Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Győző C.
10 years agoExplorer | Level 3
api v1 uid to api v2 account_id conversion
I have an application using api v1. I store dropbox account ids of format: "123456789".
However when I try to use v2 api's get_account call and I add the parameter account_id : "123456789" I get an error message: "must be at least 40 characters, got 9"
Is there any way to use get_account call with the old uid format. What is the connection between these two types of ids?
Thanks
1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
API v2 does use a different account ID format, so the v1 format won't work there. For any given access token though, you can call /users/get_current_account to get the v2 account ID.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!