Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Dear support,
since 20th May we have started to encounter random failures when invoking `DropboxClient.Files.ListFolderAsync` function, see the following stacktrace:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Dropbox.Api.Stone.JsonReader.Read[T](String json, IDecoder`1 decoder)
at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Dropbox.Api.DropboxRequestHandler.<RequestJsonStringWithRetry>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Dropbox.Api.DropboxRequestHandler.<Dropbox-Api-Stone-ITransport-SendRpcRequestAsync>d__12`3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
One day the same code with the same storage works and the other it does not. This and the fact that the JSON response from DropBox seems to be invalid indicates that the issue might be with DropBox API it-self. The issue seems to be appearing more often lately.
Our application is .NET Framework 4.8 and using Dropbox.Api 6.30.0.
Were there any recent breaking changes? Could you check the API on your side? Or recommend any actions we can take?
I see some of your messages got caught by an automated spam filter. I've recovered them.
Anyway, thanks for the additional information; that's helpful. We'll look into it.
I've tried your sample code and the issue doesn't reproduce for me, so it may be specific to some aspect of your environment or account.
That being the case, to help us track down these specific failures, please open an API ticket here and share the following:
Thanks in advance and apologies for the bother!
Hello Greg-DB,
I have reproduced the issue today and submitted the request as you suggested. It was actually pretty hard to reproduce it today, it took 1432 requests. I'll also post the data you asked for here:
Thank you for your help.
Thanks for submitting that. The team will review your ticket and follow up with you there.
@STEALTHbits Yes, the team worked on tracking this down and resolving it.
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!