Delete resource and error messages