AI/BI Genie API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 07:00 AM
Hi everyone,
I'm currently working on a project that implements a custom front end for Genie using the Genie API: https://docs.databricks.com/api/workspace/genie. So far, I’ve successfully built a working model that can send and receive messages.
However, about two days ago, I ran into an issue during testing. I was able to send and receive one message, but after that, every request returns the following error:
{
"error": "Failed to get message status",
"details": {
"error_code": "PERMISSION_DENIED",
"message": "You need \"Can View\" permission to perform this action",
"details": [
{
"@type": "type.googleapis.com/google.rpc.RequestInfo",
"request_id": "******************************",
"serving_data": ""
}
]
},
"rawResponse": {
"error_code": "PERMISSION_DENIED",
"message": "You need \"Can View\" permission to perform this action",
"details": [
{
"@type": "type.googleapis.com/google.rpc.RequestInfo",
"request_id": "******************************",
"serving_data": ""
}
]
}
}I haven't made any changes to the permissions, so I'm not sure why this started happening. Has anyone encountered a similar issue or know what might be causing this?
Any help is appreciated—thanks!
- Labels:
-
API Documentation
-
Genie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 09:23 AM
Is there any possibility that workspace admin could have removed this permission to you? If you check the permissions on your side do you see yourself with at least Can View?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 11:44 AM
I spoke with my workspace administrator, and nothing has been modified since the error occurred. It would be unusual if the issue was related to permissions, considering we use a user token generated by the admin to make calls to the Genie APIs.