chorus2 icon indicating copy to clipboard operation
chorus2 copied to clipboard

Error on PVR: Uncaught Error code: -32602 - message: Invalid params.

Open lduda007 opened this issue 8 years ago • 0 comments

I have error while I tried to enter PVR. On UI I see spinner with message: "Just a sec..." . I checked console log (I putted error message in subject). Also I checked it deeper. Below Request and Response:

Request: { "jsonrpc": "2.0", "method": "PVR.GetChannels", "id": "1497807995600", "params": { "channelgroupid": "alltv", "properties": [ "thumbnail", "channeltype", "hidden", "locked", "channel", "lastplayed", "broadcastnow", "isrecording" ], "limits": { "start": 0 } } }

Response: { "error": { "code": -32602, "data": { "method": "PVR.GetChannels", "stack": { "message": "array element at index 7 does not match", "name": "Item.Fields.Base", "property": { "message": "Received value does not match any of the defined enum values", "type": "string" }, "type": "array" } }, "message": "Invalid params." }, "id": "1497807995600", "jsonrpc": "2.0" }

It seems that "isrecording" parameter cause error. I checked it in Postman without this parameter, and it works fine without this parameter.

For information - I have Kodi ver 16.1 running on Raspberry Pi (LibreELEC) ;) This functionality is compatible with my version of Kodi?

lduda007 avatar Jun 18 '17 18:06 lduda007