Corrected request error handeling
Corrected request error handeling