<?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: path/not_found on create_shared_link_with_settings for Dropbox-API-Select-Admin auth (Business) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/path-not-found-on-create-shared-link-with-settings-for-Dropbox/m-p/280416#M17003</link>
    <description>&lt;P&gt;Thanks for writing this up! We'll check on that to see if it's not working properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able&amp;nbsp;make this work using &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;the 'Dropbox-API-Path-Root' header&lt;/A&gt;&amp;nbsp;though:&lt;/P&gt;
&lt;PRE&gt;Dropbox-API-Path-Root: {".tag": "namespace_id", "namespace_id": "&amp;lt;namespace_id&amp;gt;"}&lt;/PRE&gt;
&lt;P&gt;And then use the path like:&lt;/P&gt;
&lt;PRE&gt;path: /app_name/path/to/file.pdf,
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jun 2018 15:57:36 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-06-14T15:57:36Z</dc:date>
    <item>
      <title>path/not_found on create_shared_link_with_settings for Dropbox-API-Select-Admin auth (Business)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/path-not-found-on-create-shared-link-with-settings-for-Dropbox/m-p/280380#M16995</link>
      <description>&lt;P&gt;I try to integrate a web app I'm working on with Dropbox Business API.&lt;BR /&gt;The case is uploading&amp;nbsp;some of the documents to specified folders and then generating the sharing links for them, to serve them from Dropbox rather than store them on app server or generating them on the fly.&lt;BR /&gt;&lt;BR /&gt;My flow is:&lt;/P&gt;&lt;P&gt;1. I prepare the file to be passed to Dropbox API.&lt;BR /&gt;2. I construct a specific filepath for this file, formatted as `ns:&amp;lt;namespace_id&amp;gt;/app_name/path/to/file.pdf`.&lt;BR /&gt;3. I upload the file to Dropbox, using the Dropbox-API-Select-Admin authentication (I gathered the admin member id earlier).&lt;BR /&gt;4. Then I want to create a shared link for this file, using the same authentication method and the same path I constructed earlier.&lt;BR /&gt;&lt;BR /&gt;I'm stuck at the last point thoug, as I get the following error (along with status 409).&lt;/P&gt;&lt;PRE&gt;{
  "error_summary": "path/not_found/.",
  "error": {
    ".tag": "path",
    "path": {
      ".tag":"not_found"
    }
  }
}&lt;/PRE&gt;&lt;P&gt;I tried to use&amp;nbsp;file ID, I fiddled with the API explorer... Nothing.&lt;BR /&gt;I use the following headers - Authorization (being the token), Content-Type (application/json), Dropbox-API-Select-Admin (providing the admin member_id).&lt;/P&gt;&lt;P&gt;Along the path in request body, I add the requested_visibility param and set it to team_only (though I determined that even skipping this, the request still fails).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;upload the file&amp;nbsp;using&amp;nbsp;basically the same headers (though Content-Type differs a little) plus Dropbox-API-Arg and Content-Length. The body of the request is a file.&lt;BR /&gt;The arguments I provide are:&lt;/P&gt;&lt;PRE&gt;{
  path: ns:&amp;lt;namespace_id&amp;gt;/app_name/path/to/file.pdf,
  mode: "add",
  autorename: true,
  mute: false
}&lt;/PRE&gt;&lt;P&gt;The app status is Development.&amp;nbsp;Permission type: Team member file access&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm sure I missed something important.&amp;nbsp;Maybe some app or team privileges that might seem not obvious?&lt;BR /&gt;Can anybody point me in the right direction?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:12:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/path-not-found-on-create-shared-link-with-settings-for-Dropbox/m-p/280380#M16995</guid>
      <dc:creator>mstanisz</dc:creator>
      <dc:date>2019-05-29T09:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: path/not_found on create_shared_link_with_settings for Dropbox-API-Select-Admin auth (Business)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/path-not-found-on-create-shared-link-with-settings-for-Dropbox/m-p/280416#M17003</link>
      <description>&lt;P&gt;Thanks for writing this up! We'll check on that to see if it's not working properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able&amp;nbsp;make this work using &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;the 'Dropbox-API-Path-Root' header&lt;/A&gt;&amp;nbsp;though:&lt;/P&gt;
&lt;PRE&gt;Dropbox-API-Path-Root: {".tag": "namespace_id", "namespace_id": "&amp;lt;namespace_id&amp;gt;"}&lt;/PRE&gt;
&lt;P&gt;And then use the path like:&lt;/P&gt;
&lt;PRE&gt;path: /app_name/path/to/file.pdf,
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 15:57:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/path-not-found-on-create-shared-link-with-settings-for-Dropbox/m-p/280416#M17003</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-06-14T15:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: path/not_found on create_shared_link_with_settings for Dropbox-API-Select-Admin auth (Business)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/path-not-found-on-create-shared-link-with-settings-for-Dropbox/m-p/280522#M17005</link>
      <description>&lt;P&gt;This happens to be working. Thank you very much and have a nice day!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 07:53:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/path-not-found-on-create-shared-link-with-settings-for-Dropbox/m-p/280522#M17005</guid>
      <dc:creator>mstanisz</dc:creator>
      <dc:date>2018-06-15T07:53:32Z</dc:date>
    </item>
  </channel>
</rss>

