response = json.loads(data.decode("utf-8")) In this line, there is an error 
response = json.loads(data.decode("utf-8"))
In this line, there is an error