TEIID-2630 adding handling for error status codes