<?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: CreateFolderV2 sharing_info shared_folder_id empty in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/CreateFolderV2-sharing-info-shared-folder-id-empty/m-p/379755#M21229</link>
    <description>&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;The&amp;nbsp;/2/files/create_folder_v2 endpoint&lt;/A&gt; doesn't create team (or shared) folders. It just creates normal folders. Accordingly, the resulting folder won't have a shared folder ID, since it isn't a shared folder. Only team/shared folders themselves will have that set. It can be used to create normal folders in a variety of different contexts though, such as inside a team folder, team space, shared folder, or user's private folder. So, you can instead check 'sharing_info.parent_shared_folder_id' to see if a parent folder of it is shared.&lt;/P&gt;
&lt;P&gt;If you want to create a team folder in a team that isn't using &lt;A href="https://help.dropbox.com/teams-admins/team-member/team-space-overview" target="_self"&gt;the team space configuration&lt;/A&gt;, and you're using a Dropbox Business API app with the "team member file access" permission, you can use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-create" target="_self"&gt;the&amp;nbsp;/2/team/team_folder/create endpoint&lt;/A&gt;. For teams using the team space configuration, you would just use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;the&amp;nbsp;/2/files/create_folder_v2 endpoint&lt;/A&gt; to create a folder inside the team space.&lt;/P&gt;
&lt;P&gt;Or, to just create a shared folder, you would use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder" target="_self"&gt;the&amp;nbsp;/2/sharing/share_folder endpoint&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;recommend reading &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;the Namespace Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/reference/content-access-guide" target="_self"&gt;Content Access Guide&lt;/A&gt; as they go over some of these concepts in more detail.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 16:45:22 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-11-20T16:45:22Z</dc:date>
    <item>
      <title>CreateFolderV2 sharing_info shared_folder_id empty</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/CreateFolderV2-sharing-info-shared-folder-id-empty/m-p/379658#M21227</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am using the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;CreateFolderV2&lt;/A&gt; to create a TeamFolder. The shared_folder_id in the sharing_info from the metadata is empty and I am not sure why. I also used the call to try to create folders in a Team folder and then in a shared folder, but with all of my attempts the shared_folder_id is always empty. I understand that in the documentation it says:&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;shared_folder_id&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;String(pattern="[-_0-9a-zA-Z:]+")?&lt;/I&gt;&lt;SPAN&gt;&amp;nbsp;If this folder is a shared folder mount point, the ID of the shared folder mounted at this location. This field is optional.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;However, I do not understand in which cases will the shared_folder_id actually be returned?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 10:58:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/CreateFolderV2-sharing-info-shared-folder-id-empty/m-p/379658#M21227</guid>
      <dc:creator>BIMcollab</dc:creator>
      <dc:date>2019-11-20T10:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: CreateFolderV2 sharing_info shared_folder_id empty</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/CreateFolderV2-sharing-info-shared-folder-id-empty/m-p/379755#M21229</link>
      <description>&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;The&amp;nbsp;/2/files/create_folder_v2 endpoint&lt;/A&gt; doesn't create team (or shared) folders. It just creates normal folders. Accordingly, the resulting folder won't have a shared folder ID, since it isn't a shared folder. Only team/shared folders themselves will have that set. It can be used to create normal folders in a variety of different contexts though, such as inside a team folder, team space, shared folder, or user's private folder. So, you can instead check 'sharing_info.parent_shared_folder_id' to see if a parent folder of it is shared.&lt;/P&gt;
&lt;P&gt;If you want to create a team folder in a team that isn't using &lt;A href="https://help.dropbox.com/teams-admins/team-member/team-space-overview" target="_self"&gt;the team space configuration&lt;/A&gt;, and you're using a Dropbox Business API app with the "team member file access" permission, you can use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-create" target="_self"&gt;the&amp;nbsp;/2/team/team_folder/create endpoint&lt;/A&gt;. For teams using the team space configuration, you would just use&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder" target="_self"&gt;the&amp;nbsp;/2/files/create_folder_v2 endpoint&lt;/A&gt; to create a folder inside the team space.&lt;/P&gt;
&lt;P&gt;Or, to just create a shared folder, you would use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder" target="_self"&gt;the&amp;nbsp;/2/sharing/share_folder endpoint&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;recommend reading &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_self"&gt;the Namespace Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/reference/content-access-guide" target="_self"&gt;Content Access Guide&lt;/A&gt; as they go over some of these concepts in more detail.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 16:45:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/CreateFolderV2-sharing-info-shared-folder-id-empty/m-p/379755#M21229</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-11-20T16:45:22Z</dc:date>
    </item>
  </channel>
</rss>

