Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
steve_lae0901
8 years agoHelpful | Level 6
error using PHP file_get_contents to call list_folder api
any examples available using the PHP file_get_contents function to call the files/list_folder api? ( I am able to use curl from PHP to call the dropbox apis. But my code fails on one PHP server b...
- 8 years ago
I don't believe we have an example for using file_get_contents.
In any case, when you get an error from the API, such as a 400 response, the best first step is to check the response body, which should contain a more useful error.
Anyway, it looks like you have a newer thread, so I'll follow up there:
https://www.dropboxforum.com/t5/API-support/PHP-file-download-returns-page-not-found/m-p/264177#M15462
Greg-DB
Dropbox Community Moderator
8 years agoI don't believe we have an example for using file_get_contents.
In any case, when you get an error from the API, such as a 400 response, the best first step is to check the response body, which should contain a more useful error.
Anyway, it looks like you have a newer thread, so I'll follow up there:
https://www.dropboxforum.com/t5/API-support/PHP-file-download-returns-page-not-found/m-p/264177#M15462
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!