Learn how to make the most out of the Dropbox Community here 💙.
Learn how to make the most out of the Dropbox Community here 💙.
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.
If 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!