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
not able to either create or list a share link after a copy of a file
Hello,
Overall objective:
Once I copy a file from a user's folder to our Production folder, I try to create a shared link for it and it fails; or I try to list the shared link and it fails. By ...
- 2 years ago
babydream As Здравко said, the code you shared here doesn't show an attempt to create a shared link. Files don't have shared links by default, so sharing_list_shared_links won't list a shared link for a file before one is created. Also, when copying a file, such as using files_copy_v2, a shared link on the original file does not get copied to the new copy of the file.
You can create a shared link using sharing_create_shared_link_with_settings. If that call isn't working as expected, please share the relevant code and error/output.
Greg-DB
2 years agoDropbox Staff
babydream As Здравко said, the code you shared here doesn't show an attempt to create a shared link. Files don't have shared links by default, so sharing_list_shared_links won't list a shared link for a file before one is created. Also, when copying a file, such as using files_copy_v2, a shared link on the original file does not get copied to the new copy of the file.
You can create a shared link using sharing_create_shared_link_with_settings. If that call isn't working as expected, please share the relevant code and error/output.
- babydream2 years agoHelpful | Level 6
sharing_create_shared_link_with_settings. Worked quite well. Thank you.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 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!