Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

Anton P.3's avatar
Anton P.3
Explorer | Level 3
8 years ago

com.dropbox.core.ServerException when getting file list from dropbox

Hi, I'm getting com.dropbox.core.ServerException when requesting file list from account. Few hours ago it worked fine, but now it's crashing.

 

y = mClientV2.files().listFolderBuilder(mPoint).withRecursive(true).start();

while (true){
for (Metadata metadata: y.getEntries()){
// some job
}

if (!y.getHasMore()){
break;
}

y = mClientV2.files().listFolderContinue(y.getCursor());
}

 

10-14 15:50:12.637 5908-6234/com.mobile_infographics_tools.mydrive W/System.err: com.dropbox.core.ServerException
10-14 15:50:12.637 5908-6234/com.mobile_infographics_tools.mydrive W/System.err: at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:344)
10-14 15:50:12.637 5908-6234/com.mobile_infographics_tools.mydrive W/System.err: at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:115)
10-14 15:50:12.637 5908-6234/com.mobile_infographics_tools.mydrive W/System.err: at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:284)
10-14 15:50:12.637 5908-6234/com.mobile_infographics_tools.mydrive W/System.err: at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:102)
10-14 15:50:12.637 5908-6234/com.mobile_infographics_tools.mydrive W/System.err: at com.dropbox.core.v2.files.DbxUserFilesRequests.listFolderContinue(DbxUserFilesRequests.java:1441)
10-14 15:50:12.637 5908-6234/com.mobile_infographics_tools.mydrive W/System.err: at com.dropbox.core.v2.files.DbxUserFilesRequests.listFolderContinue(DbxUserFilesRequests.java:1470)

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    We had a service disruption around that time, but it was resolved soon after. If you're still seeing any issues, please let me know.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,039 PostsLatest Activity: 9 hours ago
415 Following

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!