We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
infra
3 years agoExplorer | Level 3
Shared folder between two premium account
I'm using java SDK 4.0.1 and the sharing function doesn't work correctly with a premium account dropbox. From the original account, my folder is correctly shared with the user, but he can't see the ...
Greg-DB
3 years agoDropbox Staff
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
- the full text of any error or unexpected output, a screenshot of the unexpected result/behavior, etc.
Feel free to open an API ticket if you'd prefer to share privately.
- infra3 years agoExplorer | Level 3
To reproduce :
Have two "standard" paying accounts
Use the java 4.0.1 SDK
Now just use the 'AddMember' method and pass the email of the dropbox premium account you want to add to the folder.On dropbox the folder is marked as being shared with this premium account but the user has no access to it.
The same operation works between a paid account and a free account but not between a paid account and a paid account
Example code for sharing :
public void shareFolder(UserEntity user, String folderApiId, List<String> emails) throws DbxException { DbxClientV2 client = getUserDropboxAccess(user); SharedFolderMetadata folderMetadata = getSharedFolderMetadata(client, folderApiId); List<AddMember> members = emails.stream().map(email -> new AddMember(MemberSelector.email(email), AccessLevel.EDITOR)).collect(Collectors.toList()); client.sharing().addFolderMemberBuilder(folderMetadata.getSharedFolderId(), members).withQuiet(true).start(); }
- Greg-DB3 years agoDropbox Staff
Thanks for following up. To clarify though, can you show me what you're seeing exactly when you say "but the user has no access to it"? I'll need to make sure I understand exactly what result you're seeing and where to make sure I can reproduce the same thing and investigate this.
- infra3 years agoExplorer | Level 3
On the main account, used to share documents, we can see that the folder is shared with the user xxx@yyy.com
However, the user xxx@yyy.com does not see the folder in his space.
- Здравко3 years agoLegendary | Level 20
In such case, the only reason can be you have set different email in 'emails' parameter that the one you're exploring. You may have added or remuved some letter/digit or incorectly set some symbols (digit zero and letter O looks pretty similar on some fonts for instance). 🤔 Make sure there are missing such mistakes (it's possible file/folder to be shared even to non existing account without error).
Good luck.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!