<?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 409 Conflict when calling sharing/get_shared_link_metadata in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/670649#M30305</link>
    <description>&lt;P&gt;Hi team, we have an OAuth 2 integration with Dropbox (switched from access token integration to OAuth2).&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the authentication, we are sending an API call&amp;nbsp;&lt;/SPAN&gt;check/user&lt;SPAN&gt;&amp;nbsp;we get 200 message and everything seems to work.&lt;BR /&gt;&lt;BR /&gt;However, in the next call that we are making using the token we received -&amp;nbsp;&lt;/SPAN&gt;GET sharing/get_shared_link_metadata&lt;SPAN&gt;&amp;nbsp;we get a conflict error message (409), even though the dropbox document was shared and can be accessed without an issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Is there anything that could cause this?&lt;BR /&gt;&lt;BR /&gt;Would appreciate any help&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 16:50:05 GMT</pubDate>
    <dc:creator>idanarie</dc:creator>
    <dc:date>2023-03-23T16:50:05Z</dc:date>
    <item>
      <title>409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/670649#M30305</link>
      <description>&lt;P&gt;Hi team, we have an OAuth 2 integration with Dropbox (switched from access token integration to OAuth2).&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the authentication, we are sending an API call&amp;nbsp;&lt;/SPAN&gt;check/user&lt;SPAN&gt;&amp;nbsp;we get 200 message and everything seems to work.&lt;BR /&gt;&lt;BR /&gt;However, in the next call that we are making using the token we received -&amp;nbsp;&lt;/SPAN&gt;GET sharing/get_shared_link_metadata&lt;SPAN&gt;&amp;nbsp;we get a conflict error message (409), even though the dropbox document was shared and can be accessed without an issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Is there anything that could cause this?&lt;BR /&gt;&lt;BR /&gt;Would appreciate any help&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 16:50:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/670649#M30305</guid>
      <dc:creator>idanarie</dc:creator>
      <dc:date>2023-03-23T16:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/670832#M30311</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the response include any other information than the code? There is likely an error message returned which should explain what the issue is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 00:54:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/670832#M30311</guid>
      <dc:creator>Scott-DB</dc:creator>
      <dc:date>2023-03-24T00:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/671427#M30327</link>
      <description>&lt;P&gt;Hi Scott, thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I tested it locally on Postman, this is the error I am seeing (even though the link is shared and can be accessed by anyone)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "error_summary": "shared_link_access_denied/.",
    "error": {
        ".tag": "shared_link_access_denied"
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="idanarie_0-1679817012041.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/36415i8A8BF4989E968CB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="idanarie_0-1679817012041.png" alt="idanarie_0-1679817012041.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2023 07:51:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/671427#M30327</guid>
      <dc:creator>idanarie</dc:creator>
      <dc:date>2023-03-26T07:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/672996#M30355</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1648988"&gt;@idanarie&lt;/a&gt;&amp;nbsp;Are you using an API app registered with the "app folder" access type? There's currently a bug that results in this error when using this method with an access token for an app folder app. That's still open with engineering, but I don't have a timeline on a fix.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 18:36:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/672996#M30355</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-03-30T18:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756403#M33095</link>
      <description>&lt;P&gt;Hi Greg, there is some new about this error? It's affecting my project also.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 14:35:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756403#M33095</guid>
      <dc:creator>squdan</dc:creator>
      <dc:date>2024-03-11T14:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756404#M33096</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1812312"&gt;@squdan&lt;/a&gt; I don't have an update on this case. Are you using an app with the "app folder" access type?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 14:41:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756404#M33096</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-03-11T14:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756413#M33097</link>
      <description>&lt;P&gt;Yes, I'll give you all information about my case, maybe there is another way to achieve what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a new APP that stores some information into app users dropbox account, this works fine. Also, this app needs to access to a shared folder from my dropbox account to read some files, but I'm getting "SHARED_LINK_ACCESS_ERROR" error when I try to read from app.&lt;BR /&gt;Scoped app (App folder) is automatically set with selected permissions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="squdan_0-1710168496449.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/44598iD61619725BFC8283/image-size/medium?v=v2&amp;amp;px=400" role="button" title="squdan_0-1710168496449.png" alt="squdan_0-1710168496449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="squdan_1-1710168553728.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/44599i90C43CBCF163CC51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="squdan_1-1710168553728.png" alt="squdan_1-1710168553728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm using Java SDK 2.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;    public String getPublicFileContent(final String sharedUrl, final String folder, final String filename) {
        String result;

        try (final DbxDownloader&amp;lt;SharedLinkMetadata&amp;gt; dropboxSharedLinkFileDownloader = dropboxClient
                .sharing()
                .getSharedLinkFileBuilder(sharedUrl)
                .withPath(getPath(folder, filename))
                .start()) {
            // Obtain input stream from file
            final InputStream fileInputStream = dropboxSharedLinkFileDownloader.getInputStream();

            // Read input stream
            result = new String(fileInputStream.readAllBytes(), StandardCharsets.UTF_8);
        } catch (final DbxException e) {
            log.error("[DROPBOX] Error al accssing public file '{}' - '{}' - '{}'. Error: ", sharedUrl, folder, filename, e);
        } catch (final IOException e) {
            log.error("[DROPBOX] Error reading public file '{}' - '{}' - '{}'. Error: ", sharedUrl, folder, filename, e);
        }

        return result.toString();
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; Error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "cause" : null,
  "stackTrace" : [ {
    "classLoaderName" : null,
    "moduleName" : "java.desktop",
    "moduleVersion" : "17.0.6",
    "methodName" : "run",
    "fileName" : "EventDispatchThread.java",
    "lineNumber" : 90,
    "nativeMethod" : false,
    "className" : "java.awt.EventDispatchThread"
  } ],
  "requestId" : "5bc7ef1fdb6d4731a41186a86e390b3f",
  "userMessage" : null,
  "errorValue" : "SHARED_LINK_ACCESS_DENIED",
  "message" : "Exception in 2/sharing/get_shared_link_file: SHARED_LINK_ACCESS_DENIED",
  "suppressed" : [ ],
  "localizedMessage" : "Exception in 2/sharing/get_shared_link_file: SHARED_LINK_ACCESS_DENIED"
}&lt;/LI-CODE&gt;&lt;P&gt;If there is some error in my configuration or how I try to access to the file, pls tell me.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 14:55:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756413#M33097</guid>
      <dc:creator>squdan</dc:creator>
      <dc:date>2024-03-11T14:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756422#M33099</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1812312"&gt;@squdan&lt;/a&gt; Thanks for the information. In order to avoid that error from that method currently, you'd need to use an app &lt;A href="https://www.dropbox.com/developers/apps/create" target="_blank"&gt;registered&lt;/A&gt; for the "full Dropbox" access type instead of "app folder".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can download the entire contents of the shared link by programmatically accessing the shared links directly and setting a relevant URL parameter as &lt;A href="https://help.dropbox.com/share/force-download" target="_blank"&gt;noted here&lt;/A&gt;, without using the API/SDK. (That is, you would use an HTTPS client of your choice instead of your dropboxClient object.) That would download the whole linked folder as a zip though, so you'd then need to programmatically unzip that and access the desired file from the result.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 15:21:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756422#M33099</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-03-11T15:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756432#M33100</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1812312"&gt;@squdan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Yes, I'll give you all information about my case, maybe there is another way to achieve what I need.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1812312"&gt;@squdan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, As Greg said, there is a bug in current supported set of such API calls. Fortunately, there is undocumented set of API calls too. You can use some of them to achieve what you need. Take a look &lt;A href="https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Downloading-large-amount-of-files-to-my-web-application/m-p/725217/highlight/true#M3724" target="_blank" rel="noopener"&gt;here&lt;/A&gt; for a possible way to list link to folder. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; Once you have all entries links, you can download them using any regular download method, as Greg described already. You can get a rough idea how download can be performed &lt;A href="https://www.dropboxforum.com/t5/View-download-and-export/How-to-Workaround-quot-Zip-File-is-Too-Large-quot-Error/m-p/694167/highlight/true#M46791" target="_blank" rel="noopener"&gt;here&lt;/A&gt; (just translate relevant parts to Java).&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 16:05:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/756432#M33100</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-03-11T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: 409 Conflict when calling sharing/get_shared_link_metadata</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/769618#M33658</link>
      <description>&lt;P&gt;Update: the /2/sharing/get_shared_link_metadata and /2/sharing/get_shared_link_file endpoints (and corresponding methods in the SDKs) should now work when using an access token for an app with the app folder access type.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 18:33:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/409-Conflict-when-calling-sharing-get-shared-link-metadata/m-p/769618#M33658</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-09T18:33:47Z</dc:date>
    </item>
  </channel>
</rss>

