I have Questions about how to create a bot on discord on replit

I’ve been following a tutorial by freecodecamp.gg and their is something that isn’t working and I don’t understand why:
Json_data = json.loads(response.text)
doesn’t work for some reason can anyone help ?

please give more infos, in what situation is this not working?