Skip to content

Instantly share code, notes, and snippets.

Created November 16, 2015 17:14
Show Gist options
  • Save anonymous/cf4ee3716abf4562fe1a to your computer and use it in GitHub Desktop.
Save anonymous/cf4ee3716abf4562fe1a to your computer and use it in GitHub Desktop.
{ServiceStack.WebServiceException: Bad Request ---> System.Runtime.Serialization.SerializationException: Type definitions should start with a '{', expecting serialized type 'ErrorResponse', got string starting with: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""
at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType (ServiceStack.Text.TypeConfig typeConfig, System.String strType, ServiceStack.EmptyCtorDelegate ctorFn, System.Collections.Generic.Dictionary`2 typeAccessorMap) [0x0004c] in <filename unknown>:0
at ServiceStack.Text.Common.DeserializeType`1+<>c__DisplayClass3[ServiceStack.Text.Json.JsonTypeSerializer].<GetParseMethod>b__1 (System.String value) [0x00000] in <filename unknown>:0
at ServiceStack.Text.JsonSerializer.DeserializeFromString (System.String value, System.Type type) [0x0000e] in <filename unknown>:0
at ServiceStack.Text.JsonSerializer.DeserializeFromStream (System.Type type, System.IO.Stream stream) [0x00012] in <filename unknown>:0
at ServiceStack.ServiceClientBase.AsyncDeserializeFromStream (System.Type type, System.IO.Stream fromStream) [0x0000c] in <filename unknown>:0
at ServiceStack.AsyncServiceClient.HandleResponseError[LoginDTO] (System.Exception exception, ServiceStack.AsyncState`1 state) [0x00119] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:199
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
at System.Runtime.CompilerServices.TaskAwaiter`1[UConnect.ServiceModel.LoginDTO].GetResult () [0x00000] in <filename unknown>:0
at RestServices.Commons+<Login>d__26.MoveNext () [0x000c5] in C:\Users\dillondrobena\Source\Workspaces\UConnect\RestServices\Commons.cs:591
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:199
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
at System.Runtime.CompilerServices.TaskAwaiter`1[System.Collections.Generic.KeyValuePair`2[UConnect.ServiceModel.LoginTypes,UConnect.ServiceModel.Profile]].GetResult () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:372
at UConnect.LoginSocial+<AnalyzeAccount>d__2.MoveNext () [0x000bf] in C:\Users\dillondrobena\Source\Workspaces\UConnect\UConnect\Utilities\LoginSocial.cs:96 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment