cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Asset Bundles webhook not working

yvuignie
Contributor

Hello,

The webhook notifications in databricks jobs defined in the asset bundles are not taken into account and therefore not created. For instance, this is not working:

resources:
jobs:
job1:
name: my_job
webhook_notifications:
on_failure:
- id: <a_webhook_id>

It seems like a bug. When updating the job via databricks cli with  "databricks jobs update", it works though.

2 REPLIES 2

Kaniz_Fatma
Community Manager
Community Manager

Hi @yvuignie

  • Ensure that the job configuration is correctly defined in your asset bundle YAML file. Double-check the indentation and syntax.
  • Verify that the webhook ID (<a_webhook_id>) is valid and corresponds to an existing webhook.

yvuignie
Contributor

Hello @Kaniz_Fatma ,

Thank you for your help.

However we did check the job configuration multiple time. If we substitue 'webhook_notifications' with 'email_notifications' it works, so the syntax is correct. Here is a sample of our configuration:

yvuignie_0-1718962045278.png

For the webhook_id, it works when we use databricks-cli, so the webhook_id is valid.

 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group