Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Yusuf ..
10 years agoNew member | Level 1
Exception in thread "main" com.dropbox.core.NetworkIOException: Read timed out
The code I'm running is this;
public class test { static final String ACCESS_TOKEN = "<REDACTED>"; public static void main(String args[]) throws DbxException, IOException, InterruptedException ...
Greg-DB
Dropbox Community Moderator
10 years agoThanks for clarifying. It sounds like you're talking about using listFolder for API v2, which returns a Metadata object, as opposed to getMetadataWithChildren for API v1.
In that case, my reply does apply. Check out this sample for an example of how you can tell between files and folders when you have a Metadata object:
In short, you can use instanceof to check if it's a FolderMetadata or FileMetadata (or DeletedMetadata).
Also, when you use getDeltaWithPathPrefix, are you checking hasMore on the response? If getDeltaWithPathPrefix is true, you need to call back again to get more results.
About 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!