cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in hearing how one of our Community members uses Dropbox for sailing trips? Read all about it here.

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: 

Error 500 on /2/files/upload_session/append_v2

Error 500 on /2/files/upload_session/append_v2

Vikkonst
Helpful | Level 5
Go to solution

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: '''

 

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

@Vikkonst Please try again now and let us know if you're still seeing this issue. Thanks!

View solution in original post

14 Replies 14

Greg-DB
Dropbox Staff
Go to solution

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! 

Vikkonst
Helpful | Level 5
Go to solution

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?

Greg-DB
Dropbox Staff
Go to solution

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!

Greg-DB
Dropbox Staff
Go to solution

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!

Vikkonst
Helpful | Level 5
Go to solution

Thank you!

Adding IDs to the log in progress. We will write here when it will be done.

Vikkonst
Helpful | Level 5
Go to solution

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.

Greg-DB
Dropbox Staff
Go to solution

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!

Vikkonst
Helpful | Level 5
Go to solution

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.

Greg-DB
Dropbox Staff
Go to solution

Great, thanks for the information.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Vikkonst Helpful | Level 5
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?