Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello!
We have random error 500 when we tryed upload files.
What reason can be?
[2020-02-17T22:51:06+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: '''
[2020-02-17T23:24:48+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: '''
A 500 server error should indicate the call failed because of an issue on the Dropbox servers. Can you share a few sample 'X-Dropbox-Request-Id' response header values for these failures? That should help us track it down. Thanks in advance!
Dear Greg.
Unfotrunartly now we can't send you 'X-Dropbox-Request-Id'. We will add logging of ''X-Dropbox-Request-Id" and add here tomorrow.
At this moment I can send only logs when we were get error codes:
[2020-02-17T19:59:50+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T20:02:47+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T20:06:12+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T20:11:41+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T20:12:47+03:00] ERROR '***' upload have been ended with error, error2: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T20:58:12+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T20:58:26+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T21:04:16+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T21:07:37+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T22:04:26+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T22:04:45+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T22:16:36+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T22:17:30+03:00] ERROR '***' upload have been ended with error, error2: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' POST' failed, response code '500', error: '''
[2020-02-17T22:20:04+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: '''
[2020-02-17T22:41:57+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: '''
[2020-02-17T22:42:25+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: '''
[2020-02-17T22:51:06+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: '''
[2020-02-17T23:24:48+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: '''
Also we were get one more error:
[2020-02-17T23:26:27+03:00] DEBUG Request 'https://api.dropboxapi.com/2/files/get_metadata' with 'POST' method
body '{"error": "Internal Server Error"}'
Timezone is +3 MSK.
Do you have rate limit for APIs?
Yes, the Dropbox API does have a rate limiting system. (That's not what's happening here though. If an app hits the rate limit, the Dropbox API would reply with a 429 error status, not a 500.)
Anyway, we'll try to look into this based on the timestamps, but please do share the request IDs if possible. Thanks!
We're looking into this, but we'll need some request IDs to be sure we're identifying the right issue(s). Were you able to add the logging? Please share some request IDs for some failures, ideally from today. Thanks!
Thank you!
Adding IDs to the log in progress. We will write here when it will be done.
The fresh logs:
[2020-02-19T20:00:16+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'b8c3491d52224bd5b8977a37f65c9494' response code '500', error: '''
[2020-02-19T20:04:30+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '2857314f94f2720061bfaa692d5ce45d' response code '500', error: '''
Please check.
Waiting your answer.
Great, thanks, that's helpful. I'll follow up here once I have an update on that for you.
Also, if you're still seeing an issue on get_metadata, please share some request IDs for that as well. Thanks!
Any more errors:
[2020-02-19T22:10:28+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'fbaafce832206701efaff7e98cc16ae8' response code '500', error: '''
[2020-02-19T22:12:04+03:00] ERROR ''***'' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '01b5344b0139d4145aed398afb8056f8' response code '500', error: '''
[2020-02-19T22:13:10+03:00] ERROR ''***'' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '98c6b422ed5d53123c1295f2670ac078' response code '500', error: '''
[2020-02-19T22:27:46+03:00] ERROR ''***'' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'eaecae221c3a0deb057783f1e7702f18' response code '500', error: '''
[2020-02-19T22:29:57+03:00] ERROR ''***'' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '937fcb9aea99d938cf0d29b68357bbaf' response code '500', error: '''
All requests to get_metadata were done without problems.
Great, thanks for the information.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!