We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
bhuwan
6 years agoExplorer | Level 3
create_shared_link_with_settings responding conflict 409
Hi, create_shared_link_with_settings responding 409 conflict error but it is passing data in exception. So I try to this $client = new Client(); $parameters = [ "path" => "id:".$imageId, ]...
- 6 years ago
The /2/sharing/create_shared_link_with_settings endpoint will always return a 'shared_link_already_exists' error if a shared link for the requested item already exists. Catching and handling the exception is the proper way to accommodate that. (Note that there are other possible error types as well. You can find them listed in the documentation.)
If you want to avoid that though, you can first call /2/sharing/list_shared_links to check for an existing link. (You'll probably want to use 'direct_only:true' in this case.)
Greg-DB
6 years agoDropbox Staff
The /2/sharing/create_shared_link_with_settings endpoint will always return a 'shared_link_already_exists' error if a shared link for the requested item already exists. Catching and handling the exception is the proper way to accommodate that. (Note that there are other possible error types as well. You can find them listed in the documentation.)
If you want to avoid that though, you can first call /2/sharing/list_shared_links to check for an existing link. (You'll probably want to use 'direct_only:true' in this case.)
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!