Dropbox download node error

Hello,
I get the following error when I try to download a folder from a dropbox shared folder.

ERROR Dropbox Download 0:36 Execute failed: class com.dropbox.core.v2.files.FolderMetadata cannot be cast to class com.dropbox.core.v2.files.FileMetadata (com.dropbox.core.v2.files.FolderMetadata and com.dropbox.core.v2.files.FileMetadata are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @1b17a487)

Here are the settings I use in the dropbox download node (I have defined variables for both the remote file path and the local path to save)
image

Here is the workflow itself

Thanks
Nicolas

Hi @nba,

As mentioned in the node documentation, Dropbox Download does currently only support downloading files:

Download a single file from your Dropbox.
The path to the file in your Dropbox to download. It must begin with a /and must not end with a /. Example for a valid path: /path/to/your file.txt

As a workaround you could use a Dropbox List node to list files in a folder, loop over them via loop nodes and download every file separately. You would need to do this recursively in case you work with subfolders.

Anyhow, I created a ticket and will discuss with @qqilihq what we can do to make this possible as the workaround is indeed quite cumbersome.

Best regards,
Daniel

2 Likes

Thanks Daniel, appreciated

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.