cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want to hear from you. What do you use Dropbox for?
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

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

Helpful | Level 5
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.
 
 
1 Accepted Solution

Accepted Solutions
Highlighted

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

Dropboxer
Dropboxer

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.

View solution in original post

8 Replies 8
Highlighted

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

Dropboxer
Dropboxer

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?
Highlighted

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

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.

Highlighted

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

Dropboxer
Dropboxer

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.

Highlighted

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

Helpful | Level 5

Hello Greg!

 

recently we have the following errors:

[2020-07-22T06: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.

 

Highlighted

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

Dropboxer
Dropboxer

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.

Highlighted

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

Helpful | Level 5

Thank you for your answer!

 

Could you please clarify you mean upload only the failed chunk or all of data?

Highlighted

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

Dropboxer
Dropboxer

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.

View solution in original post

Highlighted

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

Helpful | Level 5

Thank you! We will try it.

Polls
Do you know how to organize your files and folders?
<b>We have created a guide on folder best practice, so you can get organized now <a href="https://www.dropboxforum.com/t5/Business-Tips-tricks/Folder-structure-best-practice/m-p/428456#M39"><u>check it out here</u></a>.</b>

Work Smarter with Dropbox

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.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?