Updated api response errors