<?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: shared app directory, exists but inaccessible to my app in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171272#M6447</link>
    <description>&lt;P&gt;When you say you created an app with "limited access", I presume you mean you registered an app with the app folder permission. When calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_blank" rel="nofollow noreferrer"&gt;/sharing/list_shared_links&lt;/A&gt;&amp;nbsp;with an app folder app, and not specifying a path parameter, it will only return shared links that exist for files that has access to, i.e., in its app folder.&lt;/P&gt;
&lt;P&gt;The output you shared, with an empty links array, would be expected if there aren't any shared links created for files in that app folder. Is that the case? (The true has_more value is known issue though.)&lt;/P&gt;
&lt;P&gt;If you just want to list the contents of the app folder, regardless of shared links, you can use the&amp;nbsp;/files/list_folder endpoint:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2016 00:29:23 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-06-21T00:29:23Z</dc:date>
    <item>
      <title>shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171268#M6443</link>
      <description>&lt;P&gt;Created an app, linked to a specific directory. Lets call it acme.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create acme directory on my dropbox which I shared and placed some more directories and files within it.&lt;/P&gt;
&lt;P&gt;Able to authenticate as the app using an HTTP API call.&lt;/P&gt;
&lt;P&gt;But when I call the share&amp;nbsp;files API call; I get an error, like it doesn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/sharing/list_shared_links%C2%A0" rel="nofollow noreferrer" target="_blank"&gt;https://api.dropboxapi.com/2/sharing/list_shared_links&amp;nbsp;&lt;/A&gt; --header "Authorization: Bearer ab--AUTHCODE"&amp;nbsp; --header "Content-Type: application/json"&amp;nbsp; --data "{}"&lt;/P&gt;
&lt;P&gt;Unable to list any files in this directory at all!!&lt;/P&gt;
&lt;P&gt;Was using a more generic app access to all files in my dropbox, that let me list any directory. That worked like a charm, perfectly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:32:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171268#M6443</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2019-05-29T09:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171269#M6444</link>
      <description>&lt;P&gt;Moved to the API forum.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 02:59:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171269#M6444</guid>
      <dc:creator>Rich</dc:creator>
      <dc:date>2016-06-18T02:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171270#M6445</link>
      <description>&lt;P&gt;Hi Mark, I'll be happy to help with this, but it's hard to follow without&amp;nbsp;seeing the actual API calls you're making. Can you share the set of API calls, including both requests and responses, that show the issue? Just be sure to redact the access token (and any other private information).&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 03:25:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171270#M6445</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-18T03:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171271#M6446</link>
      <description>&lt;P&gt;Hi Gregory, I think I have miss-understood a concept here. I create a app that has access across all my files on my dropbox and my app works. I create an app with limited access and I it doesn't. The app itself uses HTTP protocol, so calls much like the one above. After installation the app makes this call.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?client_id=ID&amp;amp;response_type=token&amp;amp;redirect_uri=https://www.dropbox.com/1/oauth2/redirect_receiver&amp;amp;disable_signup=true&amp;amp;state=" rel="nofollow noreferrer"&gt;https://www.dropbox.com/oauth2/authorize?client_id=ID&amp;amp;response_type=token&amp;amp;redirect_uri=https://www.dropbox.com/1/oauth2/redirect_receiver&amp;amp;disable_signup=true&amp;amp;state=&lt;/A&gt;" + String(token2Verify))&lt;/P&gt;
&lt;P&gt;With a random token, it works and returns an access token I use. Later in the app I make a calls to this routine.&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/sharing/list_shared_links%C2%A0" rel="nofollow noreferrer"&gt;https://api.dropboxapi.com/2/sharing/list_shared_links&amp;nbsp;&lt;/A&gt; --header "Authorization: Bearer ab-CODE"&amp;nbsp; --header "Content-Type: application/json"&amp;nbsp; --data "{}"&lt;/P&gt;
&lt;P&gt;And it returns nothing as you can see beyond a cursor suggesting there is more? This despite the fact that I have more than a 1000 files within directories in the app directory I named?&lt;/P&gt;
&lt;P&gt;{"links": [], "has_more": true, "cursor": "cursor-CODE"}&lt;/P&gt;
&lt;P&gt;I clearly missed a detail here? It works if I the app I create has access to all my files, but not if I restrict it to a directory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 16:18:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171271#M6446</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-06-18T16:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171272#M6447</link>
      <description>&lt;P&gt;When you say you created an app with "limited access", I presume you mean you registered an app with the app folder permission. When calling &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_blank" rel="nofollow noreferrer"&gt;/sharing/list_shared_links&lt;/A&gt;&amp;nbsp;with an app folder app, and not specifying a path parameter, it will only return shared links that exist for files that has access to, i.e., in its app folder.&lt;/P&gt;
&lt;P&gt;The output you shared, with an empty links array, would be expected if there aren't any shared links created for files in that app folder. Is that the case? (The true has_more value is known issue though.)&lt;/P&gt;
&lt;P&gt;If you just want to list the contents of the app folder, regardless of shared links, you can use the&amp;nbsp;/files/list_folder endpoint:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 00:29:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171272#M6447</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-21T00:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171273#M6448</link>
      <description>&lt;P&gt;No, the app folder had more than 1000 links within it created with the created_shared_link_with_settings API call, in subdirectories within the top directory named. So the app names a directory acme for example and within acme I have acmeA, acmeB and acmeC subdirectories; each of which contains X links to say photoA1, photoA2, photoA3 etc etc.&lt;/P&gt;
&lt;P&gt;I make calls to&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings" rel="nofollow noreferrer"&gt;https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings&lt;/A&gt; for each photo I want to share? It all works if I make the app one that has access to all my folders? but when I use an app that names the folder at the top of the tree "acme" in this example, it lists nothing as you see?&lt;/P&gt;
&lt;P&gt;Are you saying that if I name a specific folder with an app I don't need to actually share the links within it; they will be accessible with files-list_folder? I am missing something here aren't I?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 00:46:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171273#M6448</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-06-21T00:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171274#M6449</link>
      <description>&lt;P&gt;That's correct, you don't need to share links to be able to access file listings and content via the API. You can use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank" rel="nofollow noreferrer"&gt;/files/list_folder&lt;/A&gt; to list the files in a folder, even if you haven't created links for them. And you can use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_blank" rel="nofollow noreferrer"&gt;/files/download&lt;/A&gt;&amp;nbsp;to access the file content.&lt;/P&gt;
&lt;P&gt;That said, you should&amp;nbsp;receive shared links from&amp;nbsp;/sharing/list_shared_links for the files in the app folder. It looks like you already have an API ticket open for this issue though. We requested a bit more information there though, so please reply there so we can continue looking into it for you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 00:53:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171274#M6449</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-21T00:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171275#M6450</link>
      <description>&lt;P&gt;Gregory,&lt;/P&gt;
&lt;P&gt;The other ticket was linked to a file shared that never appeared when I requested all links; that really does seem like a bug; but this, this is I am sure is me not using the API correctly? Let me try and run thru this again. I create a app, acme1066.&lt;/P&gt;
&lt;P&gt;I create a directory ..&lt;/P&gt;
&lt;P&gt;/Users/localuser/Dropbox/acme1066/Homework/math&lt;/P&gt;
&lt;P&gt;I run the API command...&lt;/P&gt;
&lt;P&gt;mymac:dropbox localuser$ curl -X POST &lt;A href="https://api.dropboxapi.com/2/files/list_folder" rel="nofollow noreferrer"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt; &amp;nbsp; &amp;nbsp; --header "Authorization: Bearer ab-AUTHtoken" &amp;nbsp; &amp;nbsp; --header "Content-Type: application/json" &amp;nbsp; &amp;nbsp; --data "{\"path\": \"/Homework/math\",\"recursive\": false,\"include_media_info\": false,\"include_deleted\": false,\"include_has_explicit_shared_members\": false}"&lt;/P&gt;
&lt;P&gt;But it returns ..&lt;/P&gt;
&lt;P&gt;{"error_summary": "path/not_found/.", "error": {".tag": "path", "path": {".tag": "not_found"}}}&lt;/P&gt;
&lt;P&gt;Note I created three files within Homework/math, what have I missed here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 02:03:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171275#M6450</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-06-21T02:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171276#M6451</link>
      <description>&lt;P&gt;Thanks for the additional information! Note that "app folders" for apps with the app folder permission are specially created folders inside the "/Apps" folder in your account. So, when you create your own folder at&amp;nbsp;/acme1066/Homework/math, that won't connect to your app.&amp;nbsp;The app's actual app folder would be at&amp;nbsp;/Apps/acme1066/Homework/math.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 02:52:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171276#M6451</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-21T02:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171277#M6452</link>
      <description>&lt;P&gt;Yes, now I understand. Just tried it and it worked perfectly; will modify my app, this is a far better solution than creating links!! I find&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mymac:acme1066 localuser$ pwd&lt;/P&gt;
&lt;P&gt;/Users/localuser/Dropbox/Apps/acme1066&lt;/P&gt;
&lt;P&gt;I created Monday, Tuesday, Wednesday etc within it and I list it with ..&lt;/P&gt;
&lt;P&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/files/list_folder" rel="nofollow noreferrer"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt; &amp;nbsp; &amp;nbsp; --header "Authorization: Bearer &amp;lt;REDACTED&amp;gt;" &amp;nbsp; &amp;nbsp; --header "Content-Type: application/json" &amp;nbsp; &amp;nbsp; --data "{\"path\": \"\",\"recursive\": false,\"include_media_info\": false,\"include_deleted\": false,\"include_has_explicit_shared_members\": false}"&lt;/P&gt;
&lt;P&gt;{"entries": [{".tag": "file", "name": "Monday", "path_lower": "/monday", "path_display": "/Monday", "id": "id:-jRneIVvgyAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:12:51Z", "server_modified": "2016-06-21T05:12:56Z", "rev": "14a2437b4", "size": 0}, {".tag": "file", "name": "Tuesday", "path_lower": "/tuesday", "path_display": "/Tuesday", "id": "id:L1y7LIaRepAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:12:56Z", "server_modified": "2016-06-21T05:13:02Z", "rev": "24a2437b4", "size": 0}, {".tag": "file", "name": "Friday", "path_lower": "/friday", "path_display": "/Friday", "id": "id:14SCeRsPtOAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:13:11Z", "server_modified": "2016-06-21T05:13:16Z", "rev": "54a2437b4", "size": 0}, {".tag": "file", "name": "Wednesday", "path_lower": "/wednesday", "path_display": "/Wednesday", "id": "id:1VmOHG4gINAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:13:00Z", "server_modified": "2016-06-21T05:13:06Z", "rev": "34a2437b4", "size": 0}, {".tag": "file", "name": "Thursday", "path_lower": "/thursday", "path_display": "/Thursday", "id": "id:_X1Hb6Ty6VAAAAAAAAAAAQ", "client_modified": "2016-06-21T05:13:06Z", "server_modified": "2016-06-21T05:13:12Z", "rev": "44a2437b4", "size": 0}], "cursor": "AAH6ZRqDays_h4zJR0z1EgLGtQzbKadBnTqOSd_O-sOp4I8gVBWLKvP4PInbvHxLhQrttjnS6NfHNVyP61piiIbf8Hvxi2K8QoW_T3ykuCjLwb9k6kuBpJ9_KpluePvypAY", "has_more": false}&lt;/P&gt;
&lt;P&gt;And it works perfectly!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 12:20:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171277#M6452</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-06-21T12:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: shared app directory, exists but inaccessible to my app</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171278#M6453</link>
      <description />
      <pubDate>Tue, 21 Jun 2016 12:48:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/shared-app-directory-exists-but-inaccessible-to-my-app/m-p/171278#M6453</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2016-06-21T12:48:10Z</dc:date>
    </item>
  </channel>
</rss>

