Message "is not a valid serialized System.Object Unexpected character encountered while parsing value: Q. Path"

Hi all,

I get some kind of weird error message on the console:

[14226,12,10:35:32.516] ‘QW55dGhpbmcgZ29lcw==’ is not a valid serialized System.Object
Unexpected character encountered while parsing value: Q. Path ‘’, line 0, position 0.

``

Here is the structure I post using the “application/vnd.eventstore.events+xml” header:

a3e60372-f5c9-4246-9d86-b4851dd119e6 TextEvent QW55dGhpbmcgZ29lcw==

``

(The data is some Base64 encoded stuff)

The event is regardless of this message available in the event store.

Any ideas what this means?

Cheers,

Michael

IIRC Data is considered an object in the definition (eg its expected
to be XML) if you want to post this you should be able to post it by
using just a regular post to the stream with an event type/id header

So this would be OK?

a3e60372-f5c9-4246-9d86-b4851dd119e6 TextEvent QW55dGhpbmcgZ29lcw==

``

Looks like EventTore is trying to treat your data as json. IsJson=true can be set from the TCP api, not sure if you can do that from the HTTP api…

I would guess so without trying over curl

Yes, works now.