We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Андрей Г.2
6 years agoExplorer | Level 4
download_zip api
function dropbox_download_zip($folder_path, $file_name) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://content.dropboxapi.com/2/files/download_zip'); curl_setopt($ch, CURLOPT_RETURNTRANS...
Андрей Г.2
6 years agoExplorer | Level 4
i have to return zip archive data but it returns https://monosnap.com/file/0Dxbpzchbiq8ngZRl42SNEHqbCvmi1
Greg-DB
Dropbox Community Moderator
6 years agoThanks, but still to clarify, what exactly are you doing to get the result in that second screenshot? That appears to be a Dropbox HTML error page, but the response in the first screenshot indicates that the response was just plain text, not HTML.
That 400 response should indicate that the API request wasn't correctly formatted. The plain text response body should be a more useful error message, so please print that out, e.g., like `echo $result;`.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!