Forum Discussion

Itai M.'s avatar
Itai M.
Explorer | Level 4
3 years ago

com.dropbox.core.ServerException: null when trying to get sharedListLinks

We're using dropbox-core-sdk - 5.1.1

To fetch existing shared links with the following code:

sharingClient: DbxUserSharingRequests
sharingClient
.listSharedLinksBuilder()
.withDirectOnly(true)
.withPath(path)
.start()

 Sometimes our requests failed with error:

com.dropbox.core.ServerException: null at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:394) at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:154) at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:330) at com.dropbox.core.v2.DbxRawClientV2.executeRetriableWithRefresh(DbxRawClientV2.java:351) at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:137) at com.dropbox.core.v2.sharing.DbxUserSharingRequests.listSharedLinks(DbxUserSharingRequests.java:1597) at com.dropbox.core.v2.sharing.ListSharedLinksBuilder.start(ListSharedLinksBuilder.java:87) at com.kenshoo.kreative.clientlayer.dropbox.DbxSharingClientWrapperImpl.listExistingSharedList(DbxSharingClientWrapperImpl.scala:34) at

 

Request IDs for example:

e356cf1ced8946b2ba1e4219b2efad0a
35c387e11ec34dfbaf40e69e87d54136
1bfef20a523349b7956399cf6449994c
8193837815a0467fb8134220f269b8eb

 

 

 

 

 

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Engineering is looking into it, but I don't have an update yet. I'll follow up here once I do.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 11 hours ago
352 Following

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!