You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
jasmine_r
7 years agoHelpful | Level 6
DbxClientV2
Hi, I tried listing folders from my dropbox by creating a client with the access token for my account. I was able to create more than 1 client and list folders and files. It worked fine. How many number of clients can be created at a maximum for an account. Is DbxClientV2 API similar to a socket connection ? Does the client connection has any expiration ?
- The DbxClientV2 objects you create are just local client objects to make it easier to call the Dropbox API, but don't themselves create connections immediately upon construction. The API calls are only made when you call one of the methods, e.g., listFolder.
That being the case, the API/SDK doesn't enforce a limit on how many of these you create, but you generally won't need more than one per-user. The client objects themselves don't expire, but the access tokens used to access the API can be revoked at any time.
Also, note that the Dropbox API does have a rate limiting system, but it is based on the rate of calls made per user.
- Greg-DBDropbox StaffThe DbxClientV2 objects you create are just local client objects to make it easier to call the Dropbox API, but don't themselves create connections immediately upon construction. The API calls are only made when you call one of the methods, e.g., listFolder.
That being the case, the API/SDK doesn't enforce a limit on how many of these you create, but you generally won't need more than one per-user. The client objects themselves don't expire, but the access tokens used to access the API can be revoked at any time.
Also, note that the Dropbox API does have a rate limiting system, but it is based on the rate of calls made per user.
About Discuss Dropbox Developer & API
Make connections with other developers
797 PostsLatest Activity: 9 hours agoIf 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 or Facebook.
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!