Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here!
Forum Discussion
WWAIT
2 years agoNew member | Level 2
while uploading file more than 10-12 MB getting error Dropbox Exception BadResponse
Hi
We are facing an error with Dropbox upload API for more than 10 MB files, if the upload is less than 10 mb its getting uploaded. we are using .
PHP version : PHP 5.6.40
PHP SDK version: 1.1.6
all of a sudden this has stopped working for the last 1 week.
give below error message:
Fatal error: Uncaught exception 'Dropbox\Exception_BadResponse' with message 'Got bad JSON from server:
<!DOCTYPE html> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Dropbox - 400</title> <link href="https://cfl.dropboxstatic.com/static/metaserver/static/css/error.css" rel="stylesheet" type="text/css"/> <link rel="shortcut icon" href="https://cfl.dropboxstatic.com/static/images/favicon.ico"/> </head> <body> <div class="figure"> <img src="https://assets.dropbox.com/www/en-us/illustrations/spot/target-miss.svg" alt="Error: 400"/> </div> <div id="errorbox"> <h1>Error (400)</h1>Something went wrong. Don't worry, your files are still safe and the Dropbox team has been notified. Check out our <a href="https://status.dropbox.com">Status Page</a> to see if there is a known incident, our <a href="https://www.dropbox.com/help">Help Center</a> and <a href="https://forums.dropbox.com">forums</a> for help, or head back to < in smd_newtech/dropbox_new/Dropbox/RequestUtil.php on line 266
1 Reply
- Здравко2 years agoLegendary | Level 20
Hi WWAIT,
There should be something else changed on your end. I just tried and no issue with file bigger than 10MB; it's the same like for smaller files. Does by any chance something else change together with the size in the HTTP request - something you have ignored? You may try binary dump of your request and see what's there and what's wrong. If you cannot still figure what's wrong, post the resulted dump here (mask the access token in use or invalidate it in advance).
Hope this gives direction.
About Discuss Dropbox Developer & API
Make connections with other developers815 PostsLatest Activity: 2 days ago
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 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!