<?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 Databricks Quest 4-(Deploy Your First Databricks App) success story in Databricks Free Edition Help</title>
    <link>https://community.databricks.com/t5/databricks-free-edition-help/databricks-quest-4-deploy-your-first-databricks-app-success/m-p/168237#M905</link>
    <description>&lt;H3&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Deployed Databricks AppKit + Lakebase: 2 Tricky Bugs &amp;amp; How I Solved Them!&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Just deployed my first full-stack Databricks App using the AppKit Lakebase (PostgreSQL) template on serverless compute!&lt;/P&gt;&lt;P&gt;Using &lt;STRONG&gt;Gemini as an AI debugging agent&lt;/STRONG&gt; via raw CLI logs in WSL, I diagnosed and resolved two critical roadblocks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bug 1: Missing DABs Variables (postgres_project)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Fix:&lt;/STRONG&gt; Added postgres_project, postgres_branch, and postgres_database directly under the variables: block in databricks.yml to unblock databricks apps deploy.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bug 2: "Failed to Fetch Todos" (Silent Permission Denied 42501)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Root Cause:&lt;/STRONG&gt; Testing locally (npm run dev) first meant &lt;I&gt;my personal user&lt;/I&gt; owned the app schema. The deployed app runs under a &lt;STRONG&gt;Service Principal&lt;/STRONG&gt;, which was denied write access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Fix:&lt;/STRONG&gt; Dropped the schema via DROP SCHEMA IF EXISTS app CASCADE; in the SQL Editor and redeployed. The Service Principal recreated the schema and took proper ownership!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Pro-tip:&lt;/STRONG&gt; When building with Lakebase, &lt;I&gt;deploy first, test locally second&lt;/I&gt; so your App's Service Principal owns the schema from day one!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2026 14:30:28 GMT</pubDate>
    <dc:creator>User_sky</dc:creator>
    <dc:date>2026-09-10T14:30:28Z</dc:date>
    <item>
      <title>Databricks Quest 4-(Deploy Your First Databricks App) success story</title>
      <link>https://community.databricks.com/t5/databricks-free-edition-help/databricks-quest-4-deploy-your-first-databricks-app-success/m-p/168237#M905</link>
      <description>&lt;H3&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt; Deployed Databricks AppKit + Lakebase: 2 Tricky Bugs &amp;amp; How I Solved Them!&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Just deployed my first full-stack Databricks App using the AppKit Lakebase (PostgreSQL) template on serverless compute!&lt;/P&gt;&lt;P&gt;Using &lt;STRONG&gt;Gemini as an AI debugging agent&lt;/STRONG&gt; via raw CLI logs in WSL, I diagnosed and resolved two critical roadblocks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bug 1: Missing DABs Variables (postgres_project)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Fix:&lt;/STRONG&gt; Added postgres_project, postgres_branch, and postgres_database directly under the variables: block in databricks.yml to unblock databricks apps deploy.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bug 2: "Failed to Fetch Todos" (Silent Permission Denied 42501)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Root Cause:&lt;/STRONG&gt; Testing locally (npm run dev) first meant &lt;I&gt;my personal user&lt;/I&gt; owned the app schema. The deployed app runs under a &lt;STRONG&gt;Service Principal&lt;/STRONG&gt;, which was denied write access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Fix:&lt;/STRONG&gt; Dropped the schema via DROP SCHEMA IF EXISTS app CASCADE; in the SQL Editor and redeployed. The Service Principal recreated the schema and took proper ownership!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Pro-tip:&lt;/STRONG&gt; When building with Lakebase, &lt;I&gt;deploy first, test locally second&lt;/I&gt; so your App's Service Principal owns the schema from day one!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2026 14:30:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/databricks-free-edition-help/databricks-quest-4-deploy-your-first-databricks-app-success/m-p/168237#M905</guid>
      <dc:creator>User_sky</dc:creator>
      <dc:date>2026-09-10T14:30:28Z</dc:date>
    </item>
  </channel>
</rss>

