Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
trithanhnguyen
4 years agoHelpful | Level 6
"users/get_current_account": Invalid select user id format error.
I have a test program and it works fine in Windows 11. When I ported the code into Centos 7 and ran it, it returned an error:
com.dropbox.core.BadRequestException: Error in call to API function...
- 4 years ago
Your suggestion to check the teamMemberId is very helpful. I did make some change after I ported the code that messed up the ID.
Thank you.
trithanhnguyen
4 years agoHelpful | Level 6
I did print the teamMemberId to the log in the Centos server and checked it. It is correct string ID (I compare it with the one from the Windows 11 program).
Здравко
4 years agoLegendary | Level 20
Better perform this call on 'dbxTeamClient' context. So you wouldn't need 'broken; parameter (it's meaningless actually). 😉
- trithanhnguyen4 years agoHelpful | Level 6
For the DbxTeamClient I do not have a way to list all the folders and files for each member of the Namespace. So I have to switch to the DbxClientV2 to do that. If you can list all the folders and files for each member of the team in the same Namespace using the DbxTeamClient, could you please show me a code snippet how to do it?
Thank you.
- Здравко4 years agoLegendary | Level 20
trithanhnguyen wrote:For the DbxTeamClient I do not have a way to list all the folders and files for each member of the Namespace. ...
Does the listing fail? 🤔 Or something else before actual listing call...
trithanhnguyen wrote:... So I have to switch to the DbxClientV2 to do that. ...
Of course, there is no other way. 😉
Take a bit more care.
PS: alternative can be passing client object ready to use for listing (without need of any additional actions - like the failing one).
- trithanhnguyen4 years agoHelpful | Level 6
Your suggestion to check the teamMemberId is very helpful. I did make some change after I ported the code that messed up the ID.
Thank you.
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!