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.

 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!