Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
setycz
3 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...
DB-Des
Dropbox Community Moderator
3 years agoCould you provide the actual code that you are running?
Please include the parameter values, but don't include the access token.
setycz
3 years agoExplorer | 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-DB3 years ago
Dropbox Community Moderator
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-DB3 years ago
Dropbox Community Moderator
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!
- setycz3 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.
- 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.
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!