Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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()
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.
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.
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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!