Changed the error handlers for the http request calls to include the responseObject parameter