Traceback (most recent call last):


 "/usr/lib/python3.5/wsgiref/handlers.py", line 137, in run

self.result = application(self.environ, self.start_response)


 "/usr/local/lib/python3.5/dist-packages/falcon/api.py", line 244, in __call__

responder(req, resp, **params)


 "/home/ubuntu/srijith/dl/lib/python3.5/site-packages/hug/api.py", line 320, in version_router

**kwargs)


 "/home/ubuntu/srijith/dl/lib/python3.5/site-packages/hug/interface.py", line 793, in __call__

raise exception


 "/home/ubuntu/srijith/dl/lib/python3.5/site-packages/hug/interface.py", line 766, in __call__

self.render_content(self.call_function(input_parameters), context, request, response, **kwargs)


 "/home/ubuntu/srijith/dl/lib/python3.5/site-packages/hug/interface.py", line 703, in call_function

return self.interface(**parameters)


 "/home/ubuntu/srijith/dl/lib/python3.5/site-packages/hug/interface.py", line 100, in __call__

return __hug_internal_self._function(*args, **kwargs)


 "recommender.py", line 56, in find_best_params

print("Body :", body.read().decode('utf-8'))
AttributeError: 'NoneType' object has no attribute 'read'

Traceback (most recent call last):


 "/usr/local/lib/python3.8/site-packages/sanic/server.py", line 357, in body_append

if self.request.stream.is_full():
AttributeError: 'NoneType' object has no attribute 'stream'
