pass the response back with the error