Skip to content

Instantly share code, notes, and snippets.

@mjhlobdell
Created October 5, 2015 20:38
Show Gist options
  • Save mjhlobdell/db92c9078127e3742ad9 to your computer and use it in GitHub Desktop.
Save mjhlobdell/db92c9078127e3742ad9 to your computer and use it in GitHub Desktop.
500 error for Billings POST
{
"error": "The server encountered an error! We have no idea what went wrong.",
"debug": {
"message": "Error converting value \"sdf\" to type 'System.Int64'. Path 'companyId', line 2, position 23.",
"stackTrace": " at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0 ",
"baseExceptionMessage": "Input string was not in the correct format"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment