'NoneType' object has no attribute 'get'

hello ,help me


sanic==19.12 python ==3.6 Web page with “500” error
File “D:\anaconda\xin3\envs\kbqa\lib\site-packages\sanic\app.py”, line 974, in handle_request
response = handler(request, *args, **kwargs)
File “C:/Users/Administrator/Desktop/KBQA-study-main/local.py”, line 78, in message
sender = request.json.get(“sender”)
AttributeError: ‘NoneType’ object has no attribute ‘get’

https://sanic.readthedocs.io/en/stable/sanic/api/core.html#module-sanic.request

Request does not have a json property. Maybe you just mean request.get("sender")?