TEIID-2604 fix for error response