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
jonro
8 years agoNew member | Level 2
Generating a Download Link
A few years ago I used the HTTP API to generate email links to folders. It suddenly stopped working and I discovered that there is a new API and the old one has been deprecated. I had not heard about...
Greg-DB
8 years agoDropbox Staff
jonro API v1 was deprecated last year, and is no longer supported and is being retired very soon. I'm sorry to hear this caught you by surprise. We sent out emails notifying developers, but unfortunately it sounds like those didn't make it to you.
For reference though, /1/shares should still be working for now, and shouldn't have changed recently. I just tried a request like what you posted, and it worked for me. Based on the error message, it looks like your actual code isn't passing in the folder/file name (in your example, "myFolder"). If you want to get that working again for now, you should check why that value isn't getting filled (or is itself empty).
In any case, you will need migrate to API v2. The API v2 equivalent of /1/shares is /2/sharing/create_shared_link_with_settings to create a new shared link, or /2/sharing/list_shared_links (with direct_only=true) to retrieve an existing shared link. There are curl examples for each of those that show how to make the HTTP request.
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!