<?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 Using new api v2 can't seem to add folder members to a shared folder. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-can-t-seem-to-add-folder-members-to-a-shared/m-p/144784#M4649</link>
    <description>&lt;P&gt;I have been testing out the new HTTP api (here &lt;A href="https://www.dropbox.com/developers/documentation/http#documentation" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http#documentation&lt;/A&gt;&amp;nbsp;) which looks really promising!&lt;/P&gt;
&lt;P&gt;I've successfully shared a folder, but when i add a member to it using&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http#documentation-sharing-add_folder_member" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http#documentation-sharing-add_folder_member&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;using a curl command like&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/sharing/add_folder_member \&lt;BR /&gt; --header "Authorization: Bearer &amp;lt;OMITTED&amp;gt;" \&lt;BR /&gt; --header "Content-Type: application/json" \&lt;BR /&gt; --data '{"shared_folder_id": "&amp;lt;OMITTED REAL FOLDER ID&amp;gt;","members": [{ "member": { "email": "myemail@me.com"}}],"quiet": "false","custom_message": "Yay share a folder"}'&lt;/PRE&gt;
&lt;P&gt;and the error message i keep getting back is&lt;/P&gt;
&lt;PRE&gt;Error in call to API function "sharing/add_folder_member": request body: members.member: missing '.tag' key%&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;Looking for someone to shed some light on what the actual error is. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:38:53 GMT</pubDate>
    <dc:creator>Braden S.</dc:creator>
    <dc:date>2019-05-29T09:38:53Z</dc:date>
    <item>
      <title>Using new api v2 can't seem to add folder members to a shared folder.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-can-t-seem-to-add-folder-members-to-a-shared/m-p/144784#M4649</link>
      <description>&lt;P&gt;I have been testing out the new HTTP api (here &lt;A href="https://www.dropbox.com/developers/documentation/http#documentation" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http#documentation&lt;/A&gt;&amp;nbsp;) which looks really promising!&lt;/P&gt;
&lt;P&gt;I've successfully shared a folder, but when i add a member to it using&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http#documentation-sharing-add_folder_member" target="_blank" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/http#documentation-sharing-add_folder_member&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;using a curl command like&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/sharing/add_folder_member \&lt;BR /&gt; --header "Authorization: Bearer &amp;lt;OMITTED&amp;gt;" \&lt;BR /&gt; --header "Content-Type: application/json" \&lt;BR /&gt; --data '{"shared_folder_id": "&amp;lt;OMITTED REAL FOLDER ID&amp;gt;","members": [{ "member": { "email": "myemail@me.com"}}],"quiet": "false","custom_message": "Yay share a folder"}'&lt;/PRE&gt;
&lt;P&gt;and the error message i keep getting back is&lt;/P&gt;
&lt;PRE&gt;Error in call to API function "sharing/add_folder_member": request body: members.member: missing '.tag' key%&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;Looking for someone to shed some light on what the actual error is. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:38:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-can-t-seem-to-add-folder-members-to-a-shared/m-p/144784#M4649</guid>
      <dc:creator>Braden S.</dc:creator>
      <dc:date>2019-05-29T09:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using new api v2 can't seem to add folder members to a shared folder.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-can-t-seem-to-add-folder-members-to-a-shared/m-p/144785#M4650</link>
      <description>&lt;P&gt;You'll need a ".tag" to indicate which option in the MemberSelector union you're using. E.g.,:&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/sharing/add_folder_member \&lt;BR /&gt; --header "Authorization: Bearer &amp;lt;redacted&amp;gt;" \&lt;BR /&gt; --header "Content-Type: application/json" \&lt;BR /&gt; --data "{\"shared_folder_id\": \"dbsfid:&amp;lt;redacted&amp;gt;\",\"members\":[{\"member\":{\".tag\":\"email\",\"email\":\"email@example.com\"}}],\"quiet\": false,\"custom_message\":\"Documentation for launch day\"}"&lt;/PRE&gt;
&lt;P&gt;We'll make a note to improve the documentation with an example for this.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 07:04:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-can-t-seem-to-add-folder-members-to-a-shared/m-p/144785#M4650</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-11-05T07:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using new api v2 can't seem to add folder members to a shared folder.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-can-t-seem-to-add-folder-members-to-a-shared/m-p/144786#M4651</link>
      <description>&lt;P&gt;Oh, I see. &amp;nbsp;I thought that an open union meant that I could just provide one of the following key/value pairs and it would use that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 07:13:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-new-api-v2-can-t-seem-to-add-folder-members-to-a-shared/m-p/144786#M4651</guid>
      <dc:creator>Braden S.</dc:creator>
      <dc:date>2015-11-05T07:13:27Z</dc:date>
    </item>
  </channel>
</rss>

