We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
Sevans4067
2 years agoNew member | Level 2
C# / DotNet DropBoxClient - Cannot List Contents of Public Shared Folder Anymore
Ran into an odd issue that appeared out of nowhere in code that has ran successfully for years:
...
var sharedMeta = await dbx.Sharing.GetSharedLinkMetadataAsync(dropBoxLink);
ListFolderResult sharedFiles = null;
if (sharedMeta.PathLower == null)
{
var sharedLink = new SharedLink(dropBoxLink); // This is a share link to public/view-only folder
sharedFiles = await dbx.Files.ListFolderAsync("", sharedLink: sharedLink); // This now throws an exception with an empty message
}
else
{
sharedFiles = await dbx.Files.ListFolderAsync(sharedMeta.PathLower);
}
...
I'm not sure if there's an issue/outage with the API that's causing this, or a change to dbx that I'm not aware of, but any assistance would be appreciated so I can get this app back up and running.
Thanks!
2 Replies
- Greg-DB2 years ago
Dropbox Community Moderator
Thanks for the report! We're looking into it. I'll follow up here once I have an update for you.
- Greg-DB2 years ago
Dropbox Community Moderator
This should be working again now. Please let us know if you're still seeing any issues. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 28 minutes ago
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 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!