2011-04-06, 17:28
Hi,
Since the API update I get an error with this json command:
I don't get it, why I receive this error:
Any idea ?
Since the API update I get an error with this json command:
Quote:{'jsonrpc': '2.0', 'method': 'VideoLibrary.GetMovies','params':{'fields': ['title', 'year', 'originaltitle', 'imdbnumber', 'playcount', 'lastPlayed']}, 'id': 1}
I don't get it, why I receive this error:
Quote:{u'jsonrpc': u'2.0', u'id': 1, u'error': {u'message': u'Invalid params.', u'code': -32602, u'data': {u'method': u'VideoLibrary.GetMovies', u'stack': {u'message': u'array expected for array element at index 5 but array received', u'property': {u'message': u'Received value does not match any of the defined enum values', u'type': u'string'}, u'type': u'array', u'name': u'fields'}}}}
Any idea ?