<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ServerException on createSharedLinkWithSettings() in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/346501#M596</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Do you have news about this issue?&lt;/P&gt;&lt;P&gt;I would like to restore full funcionality of my Dropbox-based service as soon as possible.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 08:07:59 GMT</pubDate>
    <dc:creator>MarcoNL</dc:creator>
    <dc:date>2019-05-27T08:07:59Z</dc:date>
    <item>
      <title>ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345814#M589</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I am using the DropBox Core Java SDK from my Java application (v3.1.0 JARs).&lt;/P&gt;&lt;P&gt;In particular, I am uploading a certain number of small files (around 200 files, around 200 KB each), and for each file I am invoking the following code to get a public URL to the file:&lt;/P&gt;&lt;P&gt;============&lt;/P&gt;&lt;P&gt;DbxRequestConfig reqConfig = new DbxRequestConfig(CLIENT_IDENTIFIER);&lt;BR /&gt;DbxClientV2 client = new DbxClientV2(reqConfig, myAccessToken);&lt;BR /&gt;SharedLinkMetadata sharedLinkData = client.sharing().createSharedLinkWithSettings(pathInDropbox);&lt;BR /&gt;String shareablePreviewURL = sharedLinkData.getUrl();&lt;/P&gt;&lt;P&gt;============&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For most files in my set, everything works fine. Just for 2/3 files out of 200, it is raising the following exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;P&gt;com.dropbox.core.ServerException&lt;BR /&gt;at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:382)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:154)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:330)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriableWithRefresh(DbxRawClientV2.java:351)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:137)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:465)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:495)&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I apply a "retry" policy in my application code, then calling again the createSharedLinkWithSettings() will result in the following exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;P&gt;com.dropbox.core.v2.sharing.CreateSharedLinkWithSettingsErrorException: Exception in 2/sharing/create_shared_link_with_settings: {".tag":"shared_link_already_exists","shared_link_already_exists":{".tag":"metadata","metadata":{".tag":"file","url":"&lt;A href="https://www.dropbox.com/s/j4hrqwqlqb331d4/00000107.dcm?dl=0&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;00000107.dcm&amp;quot;,&amp;quot;link_permissions&amp;quot;:{&amp;quot;can_revoke&amp;quot;:true,&amp;quot;resolved_visibility&amp;quot;:&amp;quot;public&amp;quot;,&amp;quot;requested_visibility&amp;quot;:&amp;quot;public&amp;quot;},&amp;quot;client_modified&amp;quot;:&amp;quot;2019-05-22T09:53:27Z&amp;quot;,&amp;quot;server_modified&amp;quot;:&amp;quot;2019-05-22T09:53:28Z&amp;quot;,&amp;quot;rev&amp;quot;:&amp;quot;2b154336976b&amp;quot;,&amp;quot;size&amp;quot;:226880,&amp;quot;id&amp;quot;:&amp;quot;id:qfZ_JAWlk-AAAAAAAAAP4w&amp;quot;,&amp;quot;path_lower&amp;quot;:&amp;quot;/sharedstudies/shareop_99995_1558518735130/00000107.dcm" target="_blank"&gt;https://www.dropbox.com/s/j4hrqwqlqb331d4/00000107.dcm?dl=0","name":"00000107.dcm","link_permissions":{"can_revoke":true,"resolved_visibility":"public","requested_visibility":"public"},"client_modified":"2019-05-22T09:53:27Z","server_modified":"2019-05-22T09:53:28Z","rev":"2b154336976b","size":226880,"id":"id:qfZ_JAWlk-AAAAAAAAAP4w","path_lower":"/sharedstudies/shareop_99995_1558518735130/00000107.dcm&lt;/A&gt;"}}}&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:474)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:495)&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, for a given file, the first call to createSharedLinkWithSettings() sometimes raises a ServerException, but then if retry again with the same Dropbox file it complains that "shared_link_already_exists".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is happening? Please notice that the same application code has been working flawlessly for the last 12 months or more.&lt;/P&gt;&lt;P&gt;Also, please notice that the exception only happens for 2/3 files out of a set of 200 files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you guess why these exception are happening in the last few days?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance and best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Sambin&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:04:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345814#M589</guid>
      <dc:creator>MarcoNL</dc:creator>
      <dc:date>2019-05-29T09:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345846#M591</link>
      <description>&lt;P&gt;Thanks for the report. Can you use `&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/DbxException.html#getRequestId--" target="_self"&gt;DbxException.getRequestId&lt;/A&gt;` to get the request IDs for a few of these server errors and share the IDs here? That should help us track this down. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 15:37:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345846#M591</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-05-22T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345972#M593</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;here are some request IDs failing with ServerException:&lt;/P&gt;&lt;P&gt;&amp;gt; ID: &lt;STRONG&gt;eb912690ee7217289f48215ef1fb37ec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Related log:&lt;/P&gt;&lt;P&gt;*** DBX exception with file: [/SharedStudies/ShareOp_99995_1558602017099/00000056.dcm], requestID: eb912690ee7217289f48215ef1fb37ec&lt;BR /&gt;com.dropbox.core.ServerException&lt;BR /&gt;at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:382)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:154)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:330)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriableWithRefresh(DbxRawClientV2.java:351)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:137)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:465)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(DbxUserSharingRequests.java:495)&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are others like this, and again this happens for 2/3 uploads + createSharedLinkWithSettings() settings out of around 200.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need other from my side in order to understand what's happening. It has been working fine for several months, before last 4-5 days or so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking forward to hearing from you.&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Sambin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 09:08:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345972#M593</guid>
      <dc:creator>MarcoNL</dc:creator>
      <dc:date>2019-05-23T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345973#M594</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Here are other request IDs failing with ServerException, exactly as in my message above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; ID: &lt;STRONG&gt;cc751ae733db4df9ab80c5ecadd7f7da&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; ID: &lt;STRONG&gt;790db6996f698d8fe2bf2c636ec058c2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 09:19:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/345973#M594</guid>
      <dc:creator>MarcoNL</dc:creator>
      <dc:date>2019-05-23T09:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/346053#M595</link>
      <description>&lt;P&gt;Thanks for the helpful report, Marco. Sorry your integration stopped working fully.&lt;/P&gt;
&lt;P&gt;I filed a bug with engineering and will update you when I hear back from them.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 18:56:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/346053#M595</guid>
      <dc:creator>TaylorKrusen</dc:creator>
      <dc:date>2019-05-23T18:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/346501#M596</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Do you have news about this issue?&lt;/P&gt;&lt;P&gt;I would like to restore full funcionality of my Dropbox-based service as soon as possible.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 08:07:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/346501#M596</guid>
      <dc:creator>MarcoNL</dc:creator>
      <dc:date>2019-05-27T08:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/346777#M597</link>
      <description>&lt;P&gt;Hi, Marco.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, I don't have an update for you at this time. It's been reported and is being looked at, but I don't have a timeline for a fix.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a workaround, please keep using the retry logic that you mentioned in your initial post.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 18:30:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/346777#M597</guid>
      <dc:creator>TaylorKrusen</dc:creator>
      <dc:date>2019-05-28T18:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/347819#M604</link>
      <description>&lt;P&gt;Hi Marco!&lt;/P&gt;&lt;P&gt;Good news! It looks like a fix was implemented.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you take a look and see whether you're still getting the error?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 23:16:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/347819#M604</guid>
      <dc:creator>TaylorKrusen</dc:creator>
      <dc:date>2019-06-03T23:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/347873#M605</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Thanks for getting back to me!&lt;/P&gt;&lt;P&gt;Unfortunately, the issue does not seem to be fixed.&lt;/P&gt;&lt;P&gt;I've just retried uploading my set of files and obtaining the public URLs for them, and again, I got 2 errors out of 208 uploaded files. See details below, also including the request IDs that are failing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;========&lt;/P&gt;&lt;P&gt;requestID: &lt;STRONG&gt;feb3c32fd715ebc70f97f9bb25774ebd&lt;/STRONG&gt;&lt;BR /&gt;com.dropbox.core.ServerException&lt;BR /&gt;at com.dropbox.core.DbxRequestUtil.unexpectedStatus(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2$1.execute(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriableWithRefresh(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(Unknown Source)&lt;BR /&gt;at imageviewer.h.a.c.a(Unknown Source)&lt;BR /&gt;at imageviewer.h.bv.q(Unknown Source)&lt;BR /&gt;at imageviewer.h.bx.run(Unknown Source)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:722)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*** getPermanentSharedLink() DBX exception with file: [/SharedStudies/ShareOp_99995_1559642700239/00000185.dcm], requestID: &lt;STRONG&gt;8489fc1104ee6ca5bd287e5af39793dd&lt;/STRONG&gt;&lt;BR /&gt;com.dropbox.core.ServerException&lt;BR /&gt;at com.dropbox.core.DbxRequestUtil.unexpectedStatus(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2$1.execute(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.executeRetriableWithRefresh(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(Unknown Source)&lt;BR /&gt;at com.dropbox.core.v2.sharing.DbxUserSharingRequests.createSharedLinkWithSettings(Unknown Source)&lt;BR /&gt;at imageviewer.h.a.c.a(Unknown Source)&lt;BR /&gt;at imageviewer.h.bv.q(Unknown Source)&lt;BR /&gt;at imageviewer.h.bx.run(Unknown Source)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:722)&lt;/P&gt;&lt;P&gt;========&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have further updates.&lt;/P&gt;&lt;P&gt;It seems to me this is an important issue, which may affect several Dropbox SDK users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Sambin&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 10:13:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/347873#M605</guid>
      <dc:creator>MarcoNL</dc:creator>
      <dc:date>2019-06-04T10:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/347939#M606</link>
      <description>&lt;P&gt;Thanks for letting us know, and apologies for the trouble! We'll check on this again and follow up here once we have an update for you.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 14:55:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/347939#M606</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-06-04T14:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: ServerException on createSharedLinkWithSettings()</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/348803#M607</link>
      <description>&lt;P&gt;Can you try again now? Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 19:54:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/ServerException-on-createSharedLinkWithSettings/m-p/348803#M607</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-06-07T19:54:05Z</dc:date>
    </item>
  </channel>
</rss>

