Add try catch block for parsed json response