Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

sabbir a.'s avatar
sabbir a.
New member | Level 1
10 years ago

Couldn't retrieve child elements from the server. Getting this error when want to getfolders at 2 level deep ("/folders_level1/folders_level2") from Root.

Hi,
I have a client Web application (.Net framework 4.5) and I am using {AppLimit.CloudComputing.SharpBox.CloudStorage} API.
After allowing full access to dropbox, my application can GetFolders from dropbox Root path (/) and also from One level deep (/childfolder_level1), But I cant getfolders from 2 level deep from root like : (/childfolder_level1/childfolder_level2).

Error: Couldn't retrieve child elements from the server
StackTrace :
   at AppLimit.CloudComputing.SharpBox.StorageProvider.DropBox.Logic.DropBoxStorageProviderService.RefreshResource(IStorageProviderSession session, ICloudFileSystemEntry resource)
   at AppLimit.CloudComputing.SharpBox.StorageProvider.BaseObjects.BaseDirectoryEntry.RefreshResource()
   at AppLimit.CloudComputing.SharpBox.StorageProvider.BaseObjects.BaseDirectoryEntry.GetEnumerator()
   at nVision.Core.Lib.Storage.Dropbox.GetFolderContents(String folderName) in c:\nVision Office\nVision Office MVC\nVision.Core\Lib\Storage\Dropbox.cs:line 472

Thanks in advance

1 Reply

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    It looks like this error message is coming from the SharpBox library, and not the Dropbox API itself. As it's made by a third party, we can't provide any support for it of course. If you can print out the error being returned by the Dropbox API though I should be able to offer more guidance. (That is, the Dropbox API returns an error code and message for an API call that fails that should offer some more useful information, but SharpBox doesn't seem to be exposing those.)

About Dropbox API Support & Feedback

Node avatar for 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!