We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
setycz
2 years agoExplorer | Level 3
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E
Dear support, since 20th May we have started to encounter random failures when invoking `DropboxClient.Files.ListFolderAsync` function, see the following stacktrace: Newtonsoft.Json.JsonR...
setycz
Explorer | Level 3
From some reason I cannot submit the whole log here, the response always disappears, but this is the last part when the error occures:
>>> {"cursor":"AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3"}
<<< Error in call to API function "files/list_folder/continue": Error while authenticating request
Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Dropbox.Api.Stone.JsonReader.Read[T](String json, IDecoder`1 decoder)
at Dropbox.Api.StructuredException`1.Decode[TException](String json, IDecoder`1 errorDecoder, Func`1 exceptionFunc)
at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__20.MoveNext()
Greg-DB
2 years agoDropbox Staff
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.
- Greg-DB2 years agoDropbox Staff
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:
- Have you made any modifications to the Dropbox SDK? If so, please share them.
- Please include several 'X-Dropbox-Request-Id' response header values for several responses with the error shown here.
- Please include the IP address used to make the requests that resulted in the errors identified in the previous item.
Thanks in advance and apologies for the bother!
- setycz2 years agoExplorer | Level 3
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:
- Have you made any modifications to the Dropbox SDK? If so, please share them.
- no changes
- Please include several 'X-Dropbox-Request-Id' response header values for several responses with the error shown here.
- [X-Dropbox-Request-Id]=[5540b28dca5e40c1aa5ecde595c983a5]
- Please include the IP address used to make the requests that resulted in the errors identified in the previous item.
- (I won't rather post it here, but it is included in the ticket :D)
Thank you for your help.
- Greg-DB2 years agoDropbox Staff
Thanks for submitting that. The team will review your ticket and follow up with you there.
- Have you made any modifications to the Dropbox SDK? If so, please share them.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 5 hours agoIf 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 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!