cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E

Re: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E

awb
Helpful | Level 7
 How was this resolved in the end? I have a customer getting this error
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 -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 ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult
2 Replies 2

Greg-DB
Dropbox Staff

@awb This was due to an incompatibility between the format of certain responses returned by the API and how the SDK was parsing them. The team updated the server to return responses that the SDK would parse successfully. There may be other cases of this though, so if you're seeing this currently, please share several (5-10) sample 'X-Dropbox-Request-Id' response header values for these failures, along with the corresponding timestamps and timezones for each so we can check on them. Thanks in advance!

awb
Helpful | Level 7

@Greg-DB thanks for the quick response. We ran this again and did not encounter the error. Not sure if anything changed on the Dropbox side. If we encounter this again, I'll send through the requests ids.

Thanks

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    awb Helpful | Level 7
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?