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: 

Re: BeginUploadSessionStart Error

BeginUploadSessionStart Error

scottietrek
New member | Level 2
Go to solution

I am getting a wierd error now. i was able to make this work when the stream was empty but when i added the file as a stream which is 750mb i get the error below:

at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__2d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Dropbox.Api.DropboxRequestHandler.<RequestJsonStringWithRetry>d__1a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Dropbox.Api.DropboxRequestHandler.<Dropbox.Api.Stone.ITransport.SendUploadRequestAsync>d__d`3.MoveNext()

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

Are you sending the entire 750 MB in a single UploadSessionStart call? We recommend not sending more than 150 MB in any single call (and sending less than that is probably better in fact). I can't say for sure what this issue is based on this stack, but sending 750 MB at once would certainly be an issue.

 

The documentation for UploadSessionStartAsync, UploadSessionAppendV2Async, and UploadSessionFinishAsync has more information. There's also a sample of using upload sessions in the "SimpleTest" example app.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

Are you sending the entire 750 MB in a single UploadSessionStart call? We recommend not sending more than 150 MB in any single call (and sending less than that is probably better in fact). I can't say for sure what this issue is based on this stack, but sending 750 MB at once would certainly be an issue.

 

The documentation for UploadSessionStartAsync, UploadSessionAppendV2Async, and UploadSessionFinishAsync has more information. There's also a sample of using upload sessions in the "SimpleTest" example app.

scottietrek
New member | Level 2
Go to solution

Thank you that did it. The biggest issue was that i had been trying to upload the entire file at once. Now that i have broken it up all is good.

 

Need more support?