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

Vikkonst's avatar
Vikkonst
Helpful | Level 5
5 years ago

50x errors, /2/files/upload_session/append_v2

Hello!
 
We have new errors when uploading files:
 
[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-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'
 
Can you check?
 
Thank you in advance.
 
 
  • Greg-DB's avatar
    Greg-DB
    5 years ago

    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.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    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:

    • Are you still seeing this issue now?
    • About when did you start seeing this?
    • About what percent of calls are failing like this?
    • How much data are you sending per /2/files/upload_session/append_v2 call?
    • Can you share a few more 'X-Dropbox-Request-Id' values?
    • Vikkonst's avatar
      Vikkonst
      Helpful | Level 5

      >> 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.

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        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.