Update error messages returned by API