eric-wang-1990 opened a new issue, #3557: URL: https://github.com/apache/arrow-adbc/issues/3557
## Describe the enhancement requested When the Databricks ADBC C# driver encounters HTTP errors during Thrift operations (e.g., 401 Unauthorized, 403 Forbidden), the specific error message from the Databricks server is lost. The server returns detailed error information in the `x-thriftserver-error-message` HTTP response header, but currently only generic HTTP status messages are shown to users. ### Current Behavior When authentication fails with invalid credentials, users see: ``` An unexpected error occurred while opening the session. 'Response status code does not indicate success: 401 (Unauthorized).' ``` ### Expected Behavior Users should see the detailed error message from Databricks: ``` An unexpected error occurred while opening the session. 'Thrift server error: Invalid personal access token (HTTP 401 Unauthorized)' ``` ### Use Case This enhancement significantly improves the debugging experience for users encountering authentication or authorization issues, as they can immediately identify the root cause (expired token, invalid PAT, insufficient permissions, etc.) rather than just seeing a generic HTTP status code. ## Component(s) C#, Databricks Driver -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
