Modify response error messages and codes