<?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: create a folder that will be shared and add a member to it  in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144503#M4625</link>
    <description>&lt;P&gt;Thanks for the information! I just tried that though, and it worked fine for me. Can you try removing and re-adding the libraries? Also, can you check that you don't have any other/old versions of these jars added?&lt;/P&gt;
&lt;P&gt;Here's my test project.&amp;nbsp;Try pasting in an&amp;nbsp;access token and see if it works for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/s/n4i9fx679ejcc1r/test_204631946.zip?dl=1" rel="nofollow noreferrer"&gt;https://www.dropbox.com/s/n4i9fx679ejcc1r/test_204631946.zip?dl=1&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2015 09:18:18 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-12-16T09:18:18Z</dc:date>
    <item>
      <title>create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144495#M4617</link>
      <description>&lt;P&gt;iam using the code below in a java desktop application, in order to create a folder in a dropbox account that i want to&amp;nbsp;be shared, and i am trying to add another member by his email address, but iam getting:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;java.lang.NoSuchMethodError: com.dropbox.core.json.JsonWriter.writeFields(Ljava/lang/Object;Lcom/fasterxml/jackson/core/JsonGenerator;)V&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at com.dropbox.core.v2.DbxFiles$CreateFolderArg$1.write(DbxFiles.java:5337)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at com.dropbox.core.v2.DbxFiles$CreateFolderArg$1.write(DbxFiles.java:5332)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at com.dropbox.core.json.JsonWriter.writeToStream(JsonWriter.java:23)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at com.dropbox.core.json.JsonWriter.writeToStream(JsonWriter.java:33)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:82)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at com.dropbox.core.v2.DbxFiles.createFolder(DbxFiles.java:8459)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at com.dropbox.core.v2.DbxFiles.createFolder(DbxFiles.java:8479)&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my code is the following:&lt;/P&gt;
&lt;P&gt;DbxRequestConfig dbxRequestConfig = new DbxRequestConfig("test/1.0", Locale.getDefault().toString());&lt;BR /&gt; DbxClientV2 dbxClient = new DbxClientV2(dbxRequestConfig, my_access_token);&lt;BR /&gt; &lt;BR /&gt; FolderMetadata md = dbxClient.files.createFolder("/test");&lt;BR /&gt;&lt;BR /&gt; ArrayList&amp;lt;AddMember&amp;gt; list = new ArrayList();&lt;BR /&gt; DbxSharing.AddMember a1 = new DbxSharing.AddMember(DbxSharing.MemberSelector.email("&lt;A href="mailto:xxxxxx@gmail.com" rel="nofollow noreferrer" target="_blank"&gt;xxxxxx@gmail.com&lt;/A&gt;"),DbxSharing.AccessLevel.editor);&lt;BR /&gt; &lt;BR /&gt; list.add(a1);&lt;BR /&gt; dbxClient.sharing.addFolderMember(md.parentSharedFolderId, list);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have already search for any solution to create a shared folder and add a member to it, but iam not finding anything useful to my case.&lt;/P&gt;
&lt;P&gt;Could anyone tell me what iam doing wrong??please help me ASAP.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:37:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144495#M4617</guid>
      <dc:creator>thanasis k.</dc:creator>
      <dc:date>2019-05-29T09:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144496#M4618</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/34300511/create-a-shared-folder-in-dropbox-with-dropbox-core-sdk-2-0-beta-4-and-then-add" rel="nofollow noreferrer"&gt;https://stackoverflow.com/questions/34300511/create-a-shared-folder-in-dropbox-with-dropbox-core-sdk-2-0-beta-4-and-then-add&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;I can't seem to reproduce that error. What version of the SDK do you have and how are you building/running this?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 05:22:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144496#M4618</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-16T05:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144497#M4619</link>
      <description>&lt;P&gt;iam using the&amp;nbsp;&lt;EM&gt;dropbox-core-sdk-2.0-beta-4.jar&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 05:25:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144497#M4619</guid>
      <dc:creator>thanasis k.</dc:creator>
      <dc:date>2015-12-16T05:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144498#M4620</link>
      <description>&lt;P&gt;my code hits at the line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;FolderMetadata md = dbxClient.files.createFolder("/test");&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 05:38:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144498#M4620</guid>
      <dc:creator>thanasis k.</dc:creator>
      <dc:date>2015-12-16T05:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144499#M4621</link>
      <description>&lt;P&gt;How are you building and running? Are you using Maven as&amp;nbsp;recommended in the installation instructions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/java#installf" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/documentation/java#installf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:22:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144499#M4621</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-16T06:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144500#M4622</link>
      <description>&lt;P&gt;iam not using MAVEN,&lt;/P&gt;
&lt;P&gt;my code runs inside a java desktop application on which i have include the external libraries:&lt;/P&gt;
&lt;P&gt;dropbox-core-sdk-2.0-beta-4.jar&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;jackson-core-2.6.1.jar&lt;/P&gt;
&lt;P&gt;as it is described in &lt;A href="https://github.com/dropbox/dropbox-sdk-java:" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java:&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you aren't using Maven, here are the JARs you need:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://oss.sonatype.org/content/repositories/releases/com/dropbox/core/dropbox-core-sdk/2.0-beta-4/dropbox-core-sdk-2.0-beta-4.jar" rel="nofollow noreferrer"&gt;Dropbox Core SDK 2.0-beta-4&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;A href="https://oss.sonatype.org/content/repositories/releases/com/fasterxml/jackson/core/jackson-core/2.6.1/jackson-core-2.6.1.jar" rel="nofollow noreferrer"&gt;Jackson Core 2.6.1&lt;/A&gt; (JSON parser)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 06:46:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144500#M4622</guid>
      <dc:creator>thanasis k.</dc:creator>
      <dc:date>2015-12-16T06:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144501#M4623</link>
      <description>&lt;P&gt;How did you add the jars exactly? E.g., are you using using an IDE like Eclipse, and if so, what steps did you use to add them?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 07:25:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144501#M4623</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-16T07:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144502#M4624</link>
      <description>&lt;P&gt;iam using NetBeans IDE, and the&amp;nbsp;two jars added into my project at&amp;nbsp;the "libraries" folder of it, by following the steps below:&lt;/P&gt;
&lt;P&gt;project properties -&amp;gt; Libraries -&amp;gt; Add jar/Folder -&amp;gt;&lt;/P&gt;
&lt;P&gt;and then i have selected the two jars files to include &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 07:58:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144502#M4624</guid>
      <dc:creator>thanasis k.</dc:creator>
      <dc:date>2015-12-16T07:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144503#M4625</link>
      <description>&lt;P&gt;Thanks for the information! I just tried that though, and it worked fine for me. Can you try removing and re-adding the libraries? Also, can you check that you don't have any other/old versions of these jars added?&lt;/P&gt;
&lt;P&gt;Here's my test project.&amp;nbsp;Try pasting in an&amp;nbsp;access token and see if it works for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/s/n4i9fx679ejcc1r/test_204631946.zip?dl=1" rel="nofollow noreferrer"&gt;https://www.dropbox.com/s/n4i9fx679ejcc1r/test_204631946.zip?dl=1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 09:18:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144503#M4625</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-16T09:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144504#M4626</link>
      <description>&lt;P&gt;thank you a lot Gregory for your support. Now it works for me too.&amp;nbsp;I remove and re-add the libraries, and also i have build the project again, and now it works fine.&lt;/P&gt;
&lt;P&gt;Now,&amp;nbsp;iam having problem in the part of the code that adds the member to the folder.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ArrayList&amp;lt;AddMember&amp;gt; list = new ArrayList();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DbxSharing.AddMember a1 = new DbxSharing.AddMember(DbxSharing.MemberSelector.email("&lt;A href="mailto:xxxxxx@gmail.com" rel="nofollow noreferrer"&gt;xxxxxx@gmail.com&lt;/A&gt;"),DbxSharing.AccessLevel.editor);&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;list.add(a1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;dbxClient.sharing.addFolderMember(md.parentSharedFolderId, list);&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;i have try to use also md.id, but iam taking an error like that:&lt;/P&gt;
&lt;P&gt;com.dropbox.core.v2.DbxSharing$AddFolderMemberException: Exception in add_folder_member: AddFolderMemberError.{".tag":"access_error","access_error":{".tag":"invalid_id"}}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 16:50:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144504#M4626</guid>
      <dc:creator>thanasis k.</dc:creator>
      <dc:date>2015-12-16T16:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144505#M4627</link>
      <description>&lt;P&gt;i gave the final solution to my problem. My working code is:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ArrayList&amp;lt;DbxSharing.AddMember&amp;gt; list = new ArrayList&amp;lt;DbxSharing.AddMember&amp;gt;();&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; DbxSharing.AddMember a1 = new DbxSharing.AddMember(DbxSharing.MemberSelector.email("&lt;A href="mailto:xxxxx@gmail.com" rel="nofollow noreferrer"&gt;xxxxx@gmail.com&lt;/A&gt;"), DbxSharing.AccessLevel.editor);&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; list.add(a1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; ShareFolderLaunch l = dbxClient.sharing.shareFolder("/test");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; SharedFolderMetadata md2 = l.getComplete();&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt; dbxClient.sharing.addFolderMember(md2.sharedFolderId,list);&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 17:46:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144505#M4627</guid>
      <dc:creator>thanasis k.</dc:creator>
      <dc:date>2015-12-16T17:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144506#M4628</link>
      <description>&lt;P&gt;What if I want to add a member to already shared folder??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 18:09:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144506#M4628</guid>
      <dc:creator>Suryakant D.</dc:creator>
      <dc:date>2016-04-19T18:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144507#M4629</link>
      <description>&lt;P&gt;Suryakant, you can use the&amp;nbsp;addFolderMember method to add members to already shared folders.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 00:04:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144507#M4629</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-20T00:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144508#M4630</link>
      <description>&lt;P&gt;@Gregory. Thanks for your reply. Actually I have shared the folder. Added a member to it. Now I want to get and accept the invitation request programtically&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 14:05:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144508#M4630</guid>
      <dc:creator>Suryakant D.</dc:creator>
      <dc:date>2016-04-22T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: create a folder that will be shared and add a member to it</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144509#M4631</link>
      <description>&lt;P&gt;You can use the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/sharing/DbxUserSharingRequests.html#mountFolder-java.lang.String-" target="_blank" rel="nofollow noreferrer"&gt;mountFolder&lt;/A&gt; method to mount the shared folder in the invited user's account, as long as that user has authorized the app on their account as well.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 00:33:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/create-a-folder-that-will-be-shared-and-add-a-member-to-it/m-p/144509#M4631</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-04-23T00:33:26Z</dc:date>
    </item>
  </channel>
</rss>

