Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
You would retry just the failed request(s). So, in the case of a call to /2/files/upload_session/append_v2, that would be the request with just that one chunk of data. You don't need to retry previous successful calls; the data for upload sessions calls that succeeded would still be valid.
Thanks for the report! We'll be happy to look into this, but we could use some more information. Can you let me know the following:
>> About when did you start seeing this?
First time we met it 2020-07-14T14:36:04+03:00
>> About what percent of calls are failing like this?
First day (14th) we tried to upload 15 times and 4 were failed. Second day (15) we tried to upload 23 times and 7 were failed. At each failed upload we tried to upload one more time.
>> How much data are you sending per /2/files/upload_session/append_v2 call?
It is not easy to say. We compress data on the fly. Without compress the problem archives were 24, 57 GiB and 800MiB. In one request we sent 8MiB.
>> Can you share a few more 'X-Dropbox-Request-Id' values?
[2020-07-14T14:36:04+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '2ac6fb7f107c43148433e4534483e9b3' response code '500', error: '''
[2020-07-14T15:09:47+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'f2ab876c3dc9403b9960b0c854baf9a9' response code '500', error: '''
[2020-07-14T18:30:11+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'a462b7b2d631495bacf32afdf70d3dd8' response code '500', error: '''
[2020-07-14T18:44:04+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'dd830bada2054470a349b9a0303812ed' response code '500', error: '''
[2020-07-15T09:40:50+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '000cceb5c65d49b0991baf758f2770a2' response code '502', error: '{"error": "Internal Server Error"}
[2020-07-15T09:49:43+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '6dff39225e2343189094dffafe776ea0' response code '500', error: '''
[2020-07-15T10:45:00+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '9c8785c8f725465ab0e5a3f7ac52956a' response code '503', error: 'upstream connect error or disconnect/reset before headers. reset reason: local reset''
[2020-07-15T12:05:24+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '17e0bb8995a7480cb3eedfaf5009cfab' response code '502', error: '{"error": "Internal Server Error"}
[2020-07-15T16:45:57+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'eaf6ef8776b24386be0dce71609fbeb7' response code '500', error: '''
[2020-07-15T19:16:56+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'f7cc229a68914beead33322649fc2766' response code '503', error: 'upstream connect error or disconnect/reset before headers. reset reason: local reset''
[2020-07-15T20:18:30+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '499f59ee4dd8476da9fee4ec95052629' response code '503', error: 'upstream connect error or disconnect/reset before headers. reset reason: local reset''
>>Are you still seeing this issue now?
We will try and send you response.
Thanks! From what I see based on this, this was likely due to some transient server issues, but please do let me know whether or not you're still seeing it.
Either way, you may want to implement some automatic retrying in order to handle this if/when server errors do occur.
Hello Greg!
recently we have the following errors:
[2020-07-22T00:36:28+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '5c244bb2f2554ea59460b5c825453a81' response code '500', error: '''
[2020-07-22T01:48:20+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'c1b262063aa04a6f84f7180845f31c32' response code '500', error: '''
[2020-07-25T13:17:39+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '8bff4277cb9d455ebd20fff387815fab' response code '503', error: 'upstream connect error or disconnect/reset before headers. reset reason: local reset''
[2020-07-26T02:07:46+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '6b66c141445e4742a18477b802eb4e71' response code '502', error: '{"error": "Internal Server Error"}
[2020-07-26T04:02:09+03:00] ERROR '***' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id '2d46129c06354a51a11922e39de7a461' response code '408', error: 'stream timeout''
Could you check their? Is it problem on our side?
Thank you in advance.
It looks like these were also due to some transient server issues on our side. This can happen sometimes, so an automatic retry or two is still the best way to handle these.
Thank you for your answer!
Could you please clarify you mean upload only the failed chunk or all of data?
You would retry just the failed request(s). So, in the case of a call to /2/files/upload_session/append_v2, that would be the request with just that one chunk of data. You don't need to retry previous successful calls; the data for upload sessions calls that succeeded would still be valid.
Thank you! We will try it.
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 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!