We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

awb's avatar
awb
Helpful | Level 7
4 months ago

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

 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
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox 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's avatar
      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