Fixed: Toon first check if JSON data is received before parsing.