<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Genie integration in Dashboards fails with &amp;quot;GenericChatCompletionServiceException&amp;quot; (Fr in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152512#M1735</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I believe the problem you're experiencing here is due to limitations around the context window size. The endpoints have maximum context windows and when you send the instruction to the genie room from a dashboard then it appends additional instructions which must be maxing out the context window size. To troubleshoot you could try removing some tables from your genie space and minimizing any user instructions.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Emma&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2026 11:07:39 GMT</pubDate>
    <dc:creator>emma_s</dc:creator>
    <dc:date>2026-03-30T11:07:39Z</dc:date>
    <item>
      <title>Genie integration in Dashboards fails with "GenericChatCompletionServiceException" (Free Edition)</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152479#M1734</link>
      <description>&lt;P&gt;I am experiencing a persistent error when using &lt;STRONG&gt;Genie Space&lt;/STRONG&gt; integration within a &lt;STRONG&gt;Databricks Dashboard (v3/Lakeview)&lt;/STRONG&gt;. While Genie works perfectly as a standalone Space, it consistently fails when invoked via the Dashboard sidebar.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Edition:&lt;/STRONG&gt; Databricks Free Edition&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Warehouse:&lt;/STRONG&gt; Serverless Starter Warehouse (Status: Running)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt; Unity Catalog tables (main.schema.table format)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;The Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;Genie Space UI&lt;/STRONG&gt;, natural language queries (e.g., "show 5 rows") work fine and generate SQL/results successfully.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;Dashboard sidebar (Ask Genie)&lt;/STRONG&gt;, the exact same queries fail immediately.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The error message shown is: Details: Agentic SQL generation failed: GenericChatCompletionServiceException: Chat completion failed&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;What I have tried so far:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Permissions:&lt;/STRONG&gt; Set Genie Space sharing to "All workspace users" with "Can Manage" permissions.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Linking:&lt;/STRONG&gt; Tried linking the Genie Space using both the full URL and the specific 32-character Space ID.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Isolation:&lt;/STRONG&gt; Tested in Incognito/Secret mode to rule out browser cache issues.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Re-indexing:&lt;/STRONG&gt; Removed and re-added all tables in the Genie Space and ensured they are fully indexed.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Dashboard Settings:&lt;/STRONG&gt; Published the dashboard with "Share data permission (default)" and tried various Locale settings (Japanese and English).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Warehouse Check:&lt;/STRONG&gt; Verified the Serverless Warehouse is fully "Running" and "Connected" before querying.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Despite these efforts, the sidebar remains non-functional while the standalone Genie Space works.&lt;/P&gt;&lt;P&gt;Has anyone encountered this specific GenericChatCompletionServiceException only within the Dashboard context? Is this a known limitation of the Free Edition, or is there a specific session/authentication configuration I might be missing?&lt;/P&gt;&lt;P&gt;Any insights would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 08:42:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152479#M1734</guid>
      <dc:creator>uhuru_furuta</dc:creator>
      <dc:date>2026-03-30T08:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Genie integration in Dashboards fails with "GenericChatCompletionServiceException" (Fr</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152512#M1735</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I believe the problem you're experiencing here is due to limitations around the context window size. The endpoints have maximum context windows and when you send the instruction to the genie room from a dashboard then it appends additional instructions which must be maxing out the context window size. To troubleshoot you could try removing some tables from your genie space and minimizing any user instructions.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Emma&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 11:07:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152512#M1735</guid>
      <dc:creator>emma_s</dc:creator>
      <dc:date>2026-03-30T11:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Genie integration in Dashboards fails with "GenericChatCompletionServiceException" (Fr</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152631#M1736</link>
      <description>&lt;P&gt;Thanks for your suggestion but I've tried just one table with simple question like 'show 5 rows' already and got the same error...&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 23:51:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152631#M1736</guid>
      <dc:creator>uhuru_furuta</dc:creator>
      <dc:date>2026-03-30T23:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Genie integration in Dashboards fails with "GenericChatCompletionServiceException" (Fr</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152860#M1739</link>
      <description>&lt;P&gt;It may be because of catalog permission.&lt;BR /&gt;Once I've granted `SELECT` permission to all users on my source tables which are used on the dashboard, now&amp;nbsp;I see Genie's response.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 06:51:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152860#M1739</guid>
      <dc:creator>uhuru_furuta</dc:creator>
      <dc:date>2026-04-01T06:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Genie integration in Dashboards fails with "GenericChatCompletionServiceException" (Fr</title>
      <link>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152884#M1741</link>
      <description>&lt;P&gt;Yes 100%, any user would need to have select permissions on the table that the Genie Space is created on top of.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 10:11:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/genie-integration-in-dashboards-fails-with-quot/m-p/152884#M1741</guid>
      <dc:creator>emma_s</dc:creator>
      <dc:date>2026-04-01T10:11:26Z</dc:date>
    </item>
  </channel>
</rss>

