Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lduda007 opened this issue Jun 18, 2017 · 0 comments
Open

Comments

@lduda007
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants