Hi there,
I am working on a mobile app so people can change the colors of the their Hyperion setup through their mobile.. But i am struggling with getting a succes response from the API. When I use postman i get a succesfull response but when the call goes the mobile app i get the following error:
Code
flutter: {
"command": "",
"error": "Errors during message parsing, please consult the Hyperion Log.",
"success": false,
"tan": 0
}
When i check my Hyperion log, i see the following:
Code
2022-11-21T00:58:32.378Z [hyperiond HTTPJSONRPC] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.2.1' switch to Hyperion instance 0
2022-11-21T00:58:32.383Z [hyperiond HTTPJSONRPC] (ERROR) Failed to parse json data from JsonRpc@::ffff:192.168.2.1: Error: illegal value at Line: 0, Column: 0
2022-11-21T00:58:53.120Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
2022-11-21T00:58:54.748Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.2.1
2022-11-21T00:58:54.769Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.2.1' switch to Hyperion instance 0
2022-11-21T00:58:55.681Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.2.1
Anybody an idea whats going wrong? The body what I am sending to 'http://192.168.2.10:8090/json-rpc' is :
Kind regards,
Sizo