analytics - Error setting keen.timestamp, value of property keen must be an object, is newtonsoft.json.linq.jproperty -
i'm using keen.io .net sdk , can't seem override keen.timestamp property. maintain receiving error:
value of property keen must object, newtonsoft.json.linq.jproperty"}
if remove keen property, event saves fine, keen.timestamp throws error, if added. keenclient.addevent() seems check jobject i'm not sure why jproperty beingness found. ideas? in advance!
here's test code:
var aevent = new { keen = new[] { new { timestamp = "2000-05-30t12:12:12z" } }, username = user, position = i, event_id = "a123", score = new random().next(1, 11), demographics = new[] { new {gender = "m", city = "san francisco", state = "ca"}} }; keenclient.addevent("events_test", aevent);
it looks keen
property in event object[]
, not object
. seek object , see if works.
analytics keen-io
No comments:
Post a Comment