botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[.NET SDK] Error: "Microsoft.Rest.SerializationException: Unable to deserialize the response."

Open singhsurya opened this issue 9 years ago • 4 comments

We faced below-mentioned exception in our Bot application on 14th August around 5:30 PM UTC. Bot application was working very slow and break many times. Could you guys please let us know if there was any issue in the Bot service at your end. If yes, then what was the issue and what have you fixed? Can we avoid such issues at our end somehow? @dandriscoll @jameslew @stevengum97

I found an issue reported of the same kind here

Unable to deserialize the response. Microsoft.Rest.SerializationException: Unable to deserialize the response. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: T. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject[T](String json, JsonSerializerSettings settings) at Microsoft.Bot.Connector.Conversations.d__8.MoveNext()

Thanks! Surya

singhsurya avatar Aug 18 '17 10:08 singhsurya

@singhsurya For reference, what version of BotBuilder SDK are you using?

nwhitmont avatar Aug 18 '17 16:08 nwhitmont

@nwhitmont we are using bot builder SDK version 3.8.1

The application is working fine now on the same version after the issue of 2-3 hours at that time. We want to understand the issue if there was any occurred in Bot framework/services at that time.

singhsurya avatar Aug 21 '17 06:08 singhsurya

Going to close this issue as you say it has resolved. Please continue the conversation as needed here.

JasonSowers avatar Aug 21 '17 18:08 JasonSowers

@JasonSowers I posted this question to know if Bot framework service was down at the specified time.

singhsurya avatar Aug 28 '17 18:08 singhsurya