cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Internal server error 500 with Upload sesssion start JS SDK

Internal server error 500 with Upload sesssion start JS SDK

AlexBrajkovic
Explorer | Level 4
Go to solution

Getting most of the time this error when trying to upload large files. Using JavaScript SDK for requests.
I got same error also on filesUploadSessionFinish call.

status: 500,
error: 'Error: Internal Server Error',

Part of my code

     return fs.readFileAsync(process.cwd() + '/__temp' + files[iterate].split('__temp')[1]).then(function (data) {
                
                        console.log('read file turn: ', iterate);

                        if (iterate === 0) {

                            console.log('Session Start', 'size : ', data.length);

                            return dbx.filesUploadSessionStart({
                                                                   contents: data,
                                                                   close:    false,
                                                               }).then(function (response) {

                                sessionId = response.session_id;
                                console.log(sessionId);
                            
                                return ++iterate;

                            }).catch(function (err) {
                                console.log('error from dropbox');
                                console.log(err);
                                return ++iterate;
                            });

                        }
1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
Thanks for reporting this! We did have a service disruption earlier today, but it should be resolved now. Please let us know if you're still seeing any issues.

View solution in original post

2 Replies 2

dummy
Explorer | Level 3
Go to solution

I had this issue aswell, but I can confirm, it's working now.

 

Greg-DB
Dropbox Staff
Go to solution
Thanks for reporting this! We did have a service disruption earlier today, but it should be resolved now. Please let us know if you're still seeing any issues.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    dummy Explorer | Level 3
What do Dropbox user levels mean?