databricks-sdk-py icon indicating copy to clipboard operation
databricks-sdk-py copied to clipboard

Suggestion: Do not raise error when genie has MessageStatus.FAILED

Open akilthms opened this issue 9 months ago • 1 comments

https://github.com/databricks/databricks-sdk-py/blob/d0d3a933920090b0ef6bacbbd276f1d5886082c2/databricks/sdk/service/dashboards.py#L1874

For developers created code that interacts for genie. It is useful to have the api return a json payload that has all of the attributes of the request. This allows for developers to parse the body and store relevant information related to the error. Notably, the message_id that failed, the conversation_id, and any other messages from the core genie api that may inform what exactly what on internally from genie.

akilthms avatar Mar 27 '25 11:03 akilthms

Yup, I do agree that the error messages have to be more descriptive.

As a temporary workaround, you can head over to https://${DATABRICKS_HOST}/genie/rooms/${SPACE_ID} to investigate the source of any connectivity issue.

Step 1 & 2: Head over to Monitoring on the top right corner

Image

Step 3: The error will be reflected in the right sidebar

Image

btjm123 avatar Jul 10 '25 08:07 btjm123