ERROR:vnc_cfg_api_server.vnc_cfg_api_server:Exception in REST api handler:
<pre>Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 403, in handler_trap_exception
return handler(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/gen/vnc_api_server_gen.py", line 2458, in network_policys_http_post
obj_dict = request.json[key]
File "/usr/lib/python2.7/dist-packages/bottle.py", line 163, in __get__
if key not in storage: storage[key] = self.getter(obj)
File "/usr/lib/python2.7/dist-packages/bottle.py", line 1020, in json
return json_loads(self.body.read(self.MEMFILE_MAX))
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
</pre>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bottle.py", line 764, in _handle
return route.call(**args)
File "/usr/lib/python2.7/dist-packages/bottle.py", line 1575, in wrapper
rv = callback(*a, **ka)
File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 416, in handler_trap_exception
raise e
ValueError: No JSON object could be decoded
Traceback when attaching a policy via api
ERROR:vnc_ cfg_api_ server. vnc_cfg_ api_server: Exception in REST api handler: python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 403, in handler_ trap_exception python2. 7/dist- packages/ vnc_cfg_ api_server/ gen/vnc_ api_server_ gen.py" , line 2458, in network_ policys_ http_post python2. 7/dist- packages/ bottle. py", line 163, in __get__ python2. 7/dist- packages/ bottle. py", line 1020, in json self.body. read(self. MEMFILE_ MAX)) python2. 7/json/ __init_ _.py", line 326, in loads decoder. decode( s) python2. 7/json/ decoder. py", line 366, in decode python2. 7/json/ decoder. py", line 384, in raw_decode
<pre>Traceback (most recent call last):
File "/usr/lib/
return handler(*args, **kwargs)
File "/usr/lib/
obj_dict = request.json[key]
File "/usr/lib/
if key not in storage: storage[key] = self.getter(obj)
File "/usr/lib/
return json_loads(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
</pre>
Traceback (most recent call last): python2. 7/dist- packages/ bottle. py", line 764, in _handle python2. 7/dist- packages/ bottle. py", line 1575, in wrapper python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 416, in handler_ trap_exception
File "/usr/lib/
return route.call(**args)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
raise e
ValueError: No JSON object could be decoded