Handling error when request is not created