We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 months ago
325 Following

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!