<?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: Issue with SQL Alert Task in Databricks Asset Bundles: Unknown Alert ID and alerts-v2 URL Mismat in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150530#M53463</link>
    <description>&lt;P&gt;@프라딥&amp;nbsp;Thanks for reply. I just keep my eye on the release note.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2026 03:42:06 GMT</pubDate>
    <dc:creator>Seunghyun</dc:creator>
    <dc:date>2026-03-11T03:42:06Z</dc:date>
    <item>
      <title>Issue with SQL Alert Task in Databricks Asset Bundles: Unknown Alert ID and alerts-v2 URL Mismatch</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150525#M53459</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have deployed a Databricks SQL Alert using Databricks Asset Bundles (DABs), and I’ve also deployed a Job to execute this alert through the same bundle.&lt;/P&gt;&lt;P&gt;Below is a snippet of the task configuration I used:&lt;BR /&gt;```&lt;BR /&gt;- task_key: "alerts_error"&lt;BR /&gt;sql_task:&lt;BR /&gt;alert:&lt;BR /&gt;alert_id: ${resources.alerts.MY_ALERT_NAME.id}&lt;BR /&gt;warehouse_id: ${resources.sql_warehouses.SERVERLESS_WH.id}&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;The deployment itself was successful. However, the task fails with the error: &lt;STRONG&gt;"The SQL entity could not be found."&lt;/STRONG&gt; When I check the task configuration in the Databricks UI, the SQL alert is displayed as &lt;STRONG&gt;"unknown alert with ID: {my alert id}"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Furthermore, when I click the "Open alert" link in the SQL Alert section of the task execution page, it redirects to {HOST}/sql/alerts/{id}?o={workspace_id} and returns a &lt;STRONG&gt;"the request was invalid"&lt;/STRONG&gt; error.&lt;/P&gt;&lt;P&gt;Interestingly, when I access the alert directly from the Alert console, the URL is {HOST}/sql/alerts-v2/{id}?o={workspace_id}. The difference seems to be the path: /alerts/ vs /alerts-v2/. It appears that the task is unable to locate the alert resource due to this path discrepancy.&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar issue or found a solution for this?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 02:41:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150525#M53459</guid>
      <dc:creator>Seunghyun</dc:creator>
      <dc:date>2026-03-11T02:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SQL Alert Task in Databricks Asset Bundles: Unknown Alert ID and alerts-v2 URL Mismat</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150527#M53461</link>
      <description>&lt;P&gt;DABS bundle resources maps to SQL Alert V2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/resources#alert" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/resources#alert&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So when you use DABS to create the alert it creates V2 alert .&amp;nbsp;&lt;/P&gt;&lt;P&gt;SQL Alert V2 are in public preview and not yet GA&amp;nbsp; (&amp;nbsp;&lt;A href="https://docs.databricks.com/api/workspace/alertsv2#:~:text=Alerts%20V2%20API%20%7C%20REST%20API,Knowledge%20Assistants%20Beta" target="_blank" rel="noopener"&gt;https://docs.databricks.com/api/workspace/alertsv2#:~:text=Alerts%20V2%20API%20%7C%20REST%20API,Knowledge%20Assistants%20Beta&lt;/A&gt;) which could be a reason internally the jobs UI and backend are still looking for alerts under /sql/alerts/{alert_id} . Also the definition of SQL Task does not have a way to pass Alerts V2 (&amp;nbsp;SQL Task params take alert id ( there is no options of alert v2) -&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/job-task-types#sql-task" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/job-task-types#sql-task&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I think until Alert V2 become GA you will continue to face this issue .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 03:28:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150527#M53461</guid>
      <dc:creator>pradeep_singh</dc:creator>
      <dc:date>2026-03-11T03:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SQL Alert Task in Databricks Asset Bundles: Unknown Alert ID and alerts-v2 URL Mismat</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150528#M53462</link>
      <description>&lt;P&gt;You will probably have to come up with a solution that involves running the SQL that creates the alert instead of using DABS to create the alert until Alert V2 becomes GA .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 03:29:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150528#M53462</guid>
      <dc:creator>pradeep_singh</dc:creator>
      <dc:date>2026-03-11T03:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SQL Alert Task in Databricks Asset Bundles: Unknown Alert ID and alerts-v2 URL Mismat</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150530#M53463</link>
      <description>&lt;P&gt;@프라딥&amp;nbsp;Thanks for reply. I just keep my eye on the release note.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 03:42:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-with-sql-alert-task-in-databricks-asset-bundles-unknown/m-p/150530#M53463</guid>
      <dc:creator>Seunghyun</dc:creator>
      <dc:date>2026-03-11T03:42:06Z</dc:date>
    </item>
  </channel>
</rss>

