We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
athithan
10 months agoHelpful | Level 5
Why root_folder_id property is not available in the TeamMemberProfile ts type?
I am currently working with the Dropbox API, specifically using the https://api.dropboxapi.com/2/team/members/list_v2 endpoint as documented.
According to the official documentation, the TeamMemberProfile object should include a root_folder_id property. However, while implementing this in TypeScript using the official Dropbox SDK, I noticed that the TeamMemberProfile type does not have the root_folder_id property. This is causing type errors when I try to destructure and use this property, as TypeScript complains about its absence.
Here's a brief outline of the issue:
- API Documentation: Indicates root_folder_id is a non-optional property in TeamMemberProfile.
- Dropbox SDK TypeScript Definitions: The TeamMemberProfile type does not include root_folder_id.
I wanted to ask if anyone else has encountered this issue, and how they have resolved it. Is there an updated type definition that I should be using, or is this an oversight in the SDK?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 4 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!