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
steve_lae0901
7 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...
- 7 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
7 years agoDropbox Staff
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
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 15 hours 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!