You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
babydream
2 years agoHelpful | Level 6
Getting error on shared_link_metadata = dbx.sharing_create_shared_link_with_settings
I have this code working in my development environment, but it will not work using our production environment. I 've created a branding as specified in the documentation. The scoped apps are identi...
Greg-DB
2 years agoDropbox Staff
babydream Yes, as Здравко said, a 'shared_link_already_exists' error from sharing_create_shared_link_with_settings indicates that the call failed because a link already exists for that file. As for why it fails in one environment and not the other, check which account(s) you're calling in each. If you're connected to the same account in both, the first call may work and the second may fail, since the link was created by the first call, for example.
You can get the existing link from the error if it is included there, otherwise you can call sharing_list_shared_links.
- babydream2 years agoHelpful | Level 6
Thanks for the feedback. I did notice that the link was included in the error message. I was just surprised when using my development id compared to using the production id I am getting different results. I can run in development the same code over and over without a problem. So now in the exception I need to extract the link.
Thanks again,
Cris
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!