Inconsistent error handling across services.
Entitlements Service & Search Service. The response body is in JSON format. The attributes of “code”, “reason”, “message” are returned along with status code, e.g., 401 Unauthorized. Legal Service. The response body is in Text format with no attributes of “code”, “reason”, “message” returned.