show error on REST error, refactor to allow user to retry REST calls.