Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Jonathan V.5
10 years agoNew member | Level 1
API v2 .NET, problem with upload session
Here is my code. If the file is small, the UploadAsync function is called and works flawlessly.
However, for larger file, the chunk upload fails. I get a JSON error the first time UploadSessionAppe...
Priya R.3
9 years agoNew member | Level 1
I have started to get upload error in my windows service which uses dropbox api. It was running fine from last one month and first time I have encountered the issue. I have limited error text captured via service which i am posting below.
Any hint why it is happening. File size is 6 MBand it is a pdf file.
----------------------ERROR TEXT---------------------------
---------------- Message ---------------
A task was canceled.
--------- Stack Trace ---------
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Dropbox.Api.DropboxRequestHandler.<Dropbox.Api.Babel.ITransport.SendUploadRequestAsync>d__5`3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at DropBoxService.DropBoxLocation.VB$StateMachine_0_Upload.MoveNext()
------------ Target Site ---------
Void ThrowForNonSuccess(System.Threading.Tasks.Task)
----------------System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Dropbox.Api.DropboxRequestHandler.<Dropbox.Api.Babel.ITransport.SendUploadRequestAsync>d__5`3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at DropBoxService.DropBoxLocation.VB$StateMachine_0_Upload.MoveNext()
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!