We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
jakub_slesarik
3 years agoExplorer | Level 3
List_folder does not return team folders
Hi guys, Two days ago our automated tests started failing out of the blue. We were checking that "/files/list_folder" returns both shared and team folders, but since then team folders have not ap...
- 3 years ago
I'm not aware of any changes that should have caused this, but there are a number of possible things that might have occurred here.
First, you mentioned using ListFolderAsync, but have you also implemented ListFolderContinueAsync? That interface is paginated and does not guarantee all entries will be returned on a single call to ListFolderAsync. You should always check ListFolderResult.HasMore and if it's true, call back to ListFolderContinueAsync fore more entries. You can find more information in the ListFolderAsync documentation. The exact number and set of entries returned on any individual page can vary over time, due to folder structure and activity, etc.
Otherwise, there are a number of other things that might have affected this, such as:
- the shared/team folders were unshared (either entirely or just from the relevant member)
- the team switched to the team space configuration; see the Team Files Guide for more information
- the team was disbanded
If you still need help sorting this out, feel free to open an API ticket with the relevant member ID (but don't share any access/refresh token).
Greg-DB
Dropbox Staff
I'm not aware of any changes that should have caused this, but there are a number of possible things that might have occurred here.
First, you mentioned using ListFolderAsync, but have you also implemented ListFolderContinueAsync? That interface is paginated and does not guarantee all entries will be returned on a single call to ListFolderAsync. You should always check ListFolderResult.HasMore and if it's true, call back to ListFolderContinueAsync fore more entries. You can find more information in the ListFolderAsync documentation. The exact number and set of entries returned on any individual page can vary over time, due to folder structure and activity, etc.
Otherwise, there are a number of other things that might have affected this, such as:
- the shared/team folders were unshared (either entirely or just from the relevant member)
- the team switched to the team space configuration; see the Team Files Guide for more information
- the team was disbanded
If you still need help sorting this out, feel free to open an API ticket with the relevant member ID (but don't share any access/refresh token).
jakub_slesarik
3 years agoExplorer | Level 3
Hi Greg,
thank you for your response. Yes, we are using ListFolderContinueAsync, that is not the problem. But your suggestion gave me an idea to check the activity log and this is what I found:
Please note, that "Y3S.dev Team Folder" is the folder which we were expecting in our test in the team member root folder. Do you have any idea what could that be and what could caused it? Is there a way how to change the parent back so it is in team member folder again?
- Greg-DB3 years agoDropbox Staff
I can't say for sure exactly what happened off hand, but it sounds like a team admin may have changed the folder structure and settings. You may want to contact support for help investigating and potentially reverting whatever changes were made. (Or if you're not an admin on the relevant team, it may be best to have them do so.)
- jakub_slesarik3 years agoExplorer | Level 3
Hi Greg, everyone,
so you were right about "the team switched to the team space configuration; see the Team Files Guide for more information". Our subscription was recently upgraded to the new structure and thus there are no team folders and /files/list_folder is rooted in team member's folder by default as mentioned in the article.
This will effect users of our integration so was trying to find any dates or conditions when migration happens and if the change is reversible, I have only found https://help.dropbox.com/accounts-billing/plans-upgrades/upcoming-business-team-changes. Based on that it looks like it is irreversible and initiated by DropBox. Does anyone knows?
Update: I talked to the support and they confirmed that they are migrating existing customers to the team spaces and that the change is irreversible. But they were not able to answer about the schedule and recommended asking on DEV support channels. Does anyone know when existing customers are updated to the new structure or what are the conditions?
- Greg-DB3 years agoDropbox Staff
I don't have any information to share regarding a schedule or conditions for team space conversions. Apologies I can't be of more help in that regard!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 8 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!