<?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 Update Ingestion pipleline to use pager duty with API in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175525#M57014</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been working to update a cdc ingestion pipeline to add a notification to it on failure. We have had two instances where a maintenance task by vendor as tripped up CDC with some grief.&lt;/P&gt;&lt;P&gt;I reviewed all the information and I am getting an error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"notifications": [
    {
      "destination_id": ["UUID"],
      "alerts": [
        "on-update-failure",
        "on-update-fatal-failure",
        "on-flow-failure"
      ]
    }
  ]
 }&lt;/LI-CODE&gt;&lt;P&gt;I had a look at this and it provides an error&amp;nbsp;"message": "`gateway_definition` must be set.",&lt;BR /&gt;Add it in this fashion&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "gateway_definition": {
      "connection_name": "connection_name",
      "gateway_storage_catalog": "catalogname",
      "gateway_storage_schema": "default",
      "source_type": "databasetype"
  }
  ,"notifications": [
    {
      "destination_id": ["UUID"],
      "alerts": [
        "on-update-failure",
        "on-update-fatal-failure",
        "on-flow-failure"
      ]
    }
  ]
 }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;and then I get errors like&amp;nbsp;"message": "Specified 'schema' field in the pipeline settings is illegal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I reviewed this discussion&lt;/P&gt;&lt;P&gt;Anyone been able to do this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2026 07:42:11 GMT</pubDate>
    <dc:creator>turagittech</dc:creator>
    <dc:date>2026-11-04T07:42:11Z</dc:date>
    <item>
      <title>Update Ingestion pipleline to use pager duty with API</title>
      <link>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175525#M57014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been working to update a cdc ingestion pipeline to add a notification to it on failure. We have had two instances where a maintenance task by vendor as tripped up CDC with some grief.&lt;/P&gt;&lt;P&gt;I reviewed all the information and I am getting an error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"notifications": [
    {
      "destination_id": ["UUID"],
      "alerts": [
        "on-update-failure",
        "on-update-fatal-failure",
        "on-flow-failure"
      ]
    }
  ]
 }&lt;/LI-CODE&gt;&lt;P&gt;I had a look at this and it provides an error&amp;nbsp;"message": "`gateway_definition` must be set.",&lt;BR /&gt;Add it in this fashion&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "gateway_definition": {
      "connection_name": "connection_name",
      "gateway_storage_catalog": "catalogname",
      "gateway_storage_schema": "default",
      "source_type": "databasetype"
  }
  ,"notifications": [
    {
      "destination_id": ["UUID"],
      "alerts": [
        "on-update-failure",
        "on-update-fatal-failure",
        "on-flow-failure"
      ]
    }
  ]
 }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;and then I get errors like&amp;nbsp;"message": "Specified 'schema' field in the pipeline settings is illegal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I reviewed this discussion&lt;/P&gt;&lt;P&gt;Anyone been able to do this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2026 07:42:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175525#M57014</guid>
      <dc:creator>turagittech</dc:creator>
      <dc:date>2026-11-04T07:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Update Ingestion pipleline to use pager duty with API</title>
      <link>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175634#M57026</link>
      <description>&lt;P&gt;Hi! I think the errors come from how the update is sent, not from the notification block itself.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. PUT /api/2.0/pipelines/{id} replaces the whole spec, it doesn’t merge.&lt;/STRONG&gt; That’s why it asks for gateway_definition. The 'schema' field is illegal error usually means a top-level schema/target/catalog ended up in the payload, and gateway pipelines don’t accept those. The safest way is to fetch the current spec, add only the notifications and send it back complete:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;bash&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;databricks pipelines get &amp;lt;pipeline_id&amp;gt; | jq '.spec' &amp;gt; spec.json

jq '.notifications = [{
      "email_recipients": ["team@company.com"],
      "alerts": ["on-update-failure","on-update-fatal-failure","on-flow-failure"]
    }]' spec.json &amp;gt; spec_new.json

databricks pipelines update &amp;lt;pipeline_id&amp;gt; --json @spec_new.json&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;If the schema error still shows up, check spec_new.json for a leftover top-level schema/target and remove it. Keep everything inside gateway_definition as is.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. As far as I know, destination_id isn’t supported in pipeline notifications.&lt;/STRONG&gt; They only take email_recipients + alerts. Notification destinations (Slack, Teams, webhooks) are a Jobs feature. If you need one of those, run the pipeline as a pipeline task in a Job and set:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;json&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;"webhook_notifications": { "on_failure": [{ "id": "&amp;lt;destination-UUID&amp;gt;" }] }&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;3. Decide which pipeline should alert.&lt;/STRONG&gt; Lakeflow Connect has two: the gateway (continuous, reads CDC from the source) and the ingestion pipeline. Vendor maintenance on the source DB usually breaks the gateway first, so I’d add alerts to both.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. UI alternative:&lt;/STRONG&gt; depending on your workspace version, you can add email notifications in &lt;EM&gt;Pipeline → Settings → Notifications&lt;/EM&gt; without touching the API.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2026 20:31:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175634#M57026</guid>
      <dc:creator>Mateus-Moreira</dc:creator>
      <dc:date>2026-11-04T20:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update Ingestion pipleline to use pager duty with API</title>
      <link>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175639#M57029</link>
      <description>&lt;P&gt;Agree with 3 and we have had far too much experience with issues from that and the latest is why I am beefing up notifications. PagerDuty has an email configured for the service, so maybe that one has to go via email.&lt;/P&gt;&lt;P&gt;My UI tends to be up to date, and I don't see the ability to change it in UI for the ingestion pipeline. Gateway had it an it is now hooked to PagerDuty, as that works. Why the other isn't accessible is a mystery&lt;/P&gt;&lt;P&gt;Note to Databricks: add notification destinations to all pipelines and make it easy to deploy both via API or via UI. Update your bundle definition documents to show a good example to finish it off.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2026 00:56:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175639#M57029</guid>
      <dc:creator>turagittech</dc:creator>
      <dc:date>2026-11-05T00:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update Ingestion pipleline to use pager duty with API</title>
      <link>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175651#M57034</link>
      <description>&lt;P data-pm-slice="1 3 []"&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/74890"&gt;@turagittech&lt;/a&gt;, a pipeline's &lt;CODE data-link-label="notifications" data-link-href="https://docs.databricks.com/api/pipelines/v2/edit"&gt;[notifications](&lt;A href="https://docs.databricks.com/api/pipelines/v2/edit" target="_blank"&gt;https://docs.databricks.com/api/pipelines/v2/edit&lt;/A&gt;)&lt;/CODE&gt; setting accepts only &lt;CODE&gt;email_recipients&lt;/CODE&gt; and &lt;CODE&gt;alerts&lt;/CODE&gt;, while &lt;A href="https://docs.databricks.com/aws/en/admin/workspace-settings/notification-destinations#pagerduty-destination" target="_blank"&gt;notification destinations&lt;/A&gt; such as PagerDuty are added in a job's notification settings.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;For the ingestion pipeline, add the destination to the job that schedules it (&lt;A href="https://docs.databricks.com/aws/en/jobs/tasks/pipeline#schedule-a-pipeline-with-the-pipeline-ui" target="_blank"&gt;adding a schedule&lt;/A&gt; creates that job). &lt;CODE data-link-label="POST /api/2.2/jobs/update" data-link-href="https://docs.databricks.com/api/jobs/v2/update-job"&gt;[POST /api/2.2/jobs/update](&lt;A href="https://docs.databricks.com/api/jobs/v2/update-job" target="_blank"&gt;https://docs.databricks.com/api/jobs/v2/update-job&lt;/A&gt;)&lt;/CODE&gt; replaces only the top-level fields in &lt;CODE&gt;new_settings&lt;/CODE&gt;, so include any destinations already in the job's &lt;CODE&gt;webhook_notifications&lt;/CODE&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-json"&gt; {
   "job_id": &amp;lt;scheduling-job-id&amp;gt;,
   "new_settings": {
     "webhook_notifications": {
       "on_failure": [{"id": "&amp;lt;destination-id&amp;gt;"}]
     }
   }
 }&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;For the gateway, which &lt;A href="https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/cdc-overview#connector-components" target="_blank"&gt;runs continuously&lt;/A&gt;, add a PagerDuty &lt;A href="https://docs.pagerduty.com/integrations/email-integration-guide" target="_blank"&gt;email integration&lt;/A&gt; entry to its &lt;CODE&gt;notifications&lt;/CODE&gt; list:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-json"&gt; {
   "email_recipients": ["&amp;lt;pagerduty-integration-email&amp;gt;"],
   "alerts": ["on-update-failure", "on-update-fatal-failure", "on-flow-failure"]
 }&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE data-link-label="PUT /api/2.0/pipelines/{pipeline_id}" data-link-href="https://docs.databricks.com/api/pipelines/v2/edit"&gt;[PUT /api/2.0/pipelines/{pipeline_id}](&lt;A href="https://docs.databricks.com/api/pipelines/v2/edit" target="_blank"&gt;https://docs.databricks.com/api/pipelines/v2/edit&lt;/A&gt;)&lt;/CODE&gt; takes the pipeline's settings as its body, so add the entry to the &lt;CODE&gt;spec&lt;/CODE&gt; returned by &lt;CODE&gt;GET /api/2.0/pipelines/{pipeline_id}&lt;/CODE&gt; and send the whole spec back with its other fields unchanged. A continuous pipeline &lt;A href="https://docs.databricks.com/aws/en/ldp/configure-pipeline#how-configuration-changes-take-effect" target="_blank"&gt;restarts with the updated configuration&lt;/A&gt;, so update the gateway when a restart is acceptable.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 05 Nov 2026 04:23:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/update-ingestion-pipleline-to-use-pager-duty-with-api/m-p/175651#M57034</guid>
      <dc:creator>AbhilashNagilla</dc:creator>
      <dc:date>2026-11-05T04:23:24Z</dc:date>
    </item>
  </channel>
</rss>

