<?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: Sharing multiple folder using api in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Sharing-multiple-folder-using-api/m-p/658245#M3182</link>
    <description>&lt;P&gt;Dropbox doesn't offer batch endpoints for sharing multiple folders or adding members to multiple folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should avoid making multiple changes at the same time to avoid lock contention, which can cause some to fail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever an operation returns an async job ID, you should use the corresponding endpoint to check the result of the job, to see if it succeeded or failed and why. For example, for &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_share_folder" target="_blank"&gt;sharing_share_folder&lt;/A&gt; you would use &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_check_share_job_status" target="_blank"&gt;sharing_check_share_job_status&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 18:45:47 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-02-09T18:45:47Z</dc:date>
    <item>
      <title>Sharing multiple folder using api</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Sharing-multiple-folder-using-api/m-p/658192#M3179</link>
      <description>&lt;P&gt;I have dropbox team account&lt;BR /&gt;&lt;BR /&gt;I created multiple folders using batch api for folder create&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;because creating multiple folders using&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;dbx_client.with_path_root(&lt;BR /&gt;    &lt;SPAN&gt;path_root&lt;/SPAN&gt;=pr&lt;BR /&gt;).sharing_share_folder(&lt;SPAN&gt;path&lt;/SPAN&gt;=&lt;SPAN&gt;f"&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;path&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;)&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;always comes up with a async call, I tried with 15 folders sometimes 7 are created sometime 8 this doesn't work properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So after using batch api I am trying to share folder with emails in a loop still out of 15 it is only sharing 7 or 8&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;dbx_client.sharing_add_folder_member(&lt;BR /&gt;    &lt;SPAN&gt;shared_folder_id&lt;/SPAN&gt;=shared_folder_id,&lt;BR /&gt;    &lt;SPAN&gt;members&lt;/SPAN&gt;=[&lt;BR /&gt;        AddMember(&lt;BR /&gt;            &lt;SPAN&gt;access_level&lt;/SPAN&gt;=AccessLevel(&lt;SPAN&gt;tag&lt;/SPAN&gt;=access_level),&lt;BR /&gt;            &lt;SPAN&gt;member&lt;/SPAN&gt;=MemberSelector(&lt;BR /&gt;                &lt;SPAN&gt;tag&lt;/SPAN&gt;=&lt;SPAN&gt;"email"&lt;/SPAN&gt;,&lt;BR /&gt;                &lt;SPAN&gt;value&lt;/SPAN&gt;=email,&lt;BR /&gt;            ),&lt;BR /&gt;        )&lt;BR /&gt;    ],&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Are you guys tell me a proper api which can share multiple folders in a single go, I didn't found any&lt;/PRE&gt;
&lt;P&gt;Async calls always miss some folders in sharing. This looks useless.&lt;BR /&gt;&lt;BR /&gt;Help me there asap&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Feb 2023 22:45:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Sharing-multiple-folder-using-api/m-p/658192#M3179</guid>
      <dc:creator>Akansh Gautam</dc:creator>
      <dc:date>2023-02-09T22:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing multiple folder using api</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Sharing-multiple-folder-using-api/m-p/658245#M3182</link>
      <description>&lt;P&gt;Dropbox doesn't offer batch endpoints for sharing multiple folders or adding members to multiple folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should avoid making multiple changes at the same time to avoid lock contention, which can cause some to fail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever an operation returns an async job ID, you should use the corresponding endpoint to check the result of the job, to see if it succeeded or failed and why. For example, for &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_share_folder" target="_blank"&gt;sharing_share_folder&lt;/A&gt; you would use &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_check_share_job_status" target="_blank"&gt;sharing_check_share_job_status&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 18:45:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Sharing-multiple-folder-using-api/m-p/658245#M3182</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-09T18:45:47Z</dc:date>
    </item>
  </channel>
</rss>

