[Solved] Error when trying the REST API

Trying to post some data and I get the followiing message:

{“type”:“Validation”,“message”:“deviceState no (or more than one) schemas match”}

Hi Lars,

It could be that you are using the REST API to send state, but your request is not properly formatted. You can take a look at our documentation on Send State and a valid request body example. The request body takes objects or arrays of objects of this form.

Thanks!
Julia

Yes, that was it. Thanks