Added error messages for all non-successful requests