Seq Documentation and Support

Seq Documentation and Support

Welcome to the Seq documentation hub. You'll find comprehensive guides and documentation to help you start working with Seq as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    
Ask A Question

Questions

4

Error caused by trying to deserialize a double as a decimal

From the seq log: 2016-09-29 16:30:35.412 +03:00 [Error] Error serving "http://localhost:5341/api/events/raw" (token: "72f948f32ac7444ea33d97448b5f33b7") Newtonsoft.Json.JsonReaderException: Input string '1.7976931348623157E+308' is not a valid decimal. Path 'Properties.OpenOrderEvent.Order.PercentOffset', line 1, position 1070. at Newtonsoft.Json.JsonTextReader.ParseNumber() at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonTextReader.Read() at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.MemoryEncoding.Serializer.ReadValue(JsonTextReader json, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.MemoryEncoding.Serializer.ReadValue(JsonTextReader json, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.MemoryEncoding.Serializer.ReadValue(JsonTextReader json, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.Server.Features.Filtering.FilterEntry.Includes(StorageEventCreationData evt) at Seq.Server.Web.Api.Events.RawEventsModule.Ingest() at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context) The class trying to be serialized: public class Order { public double PercentOffset { get; set; } ... }

Posted by Bob Costas 2 years ago