โ04-25-2023 12:52 PM
I have no idea what this error means or what it could mean. When I'm trying to save a workflow I get a popup saying this:
โ04-25-2023 03:05 PM
Turns out there was a webhook but databricks had a bug that made it so it didn't show up in the UI.
The way to find out the offending portion is to look at the json for the job:
The ui is convinced that doesn't exist so you have to use the jobs API to fix it.
import requests
api_base = "https://adb-[redacted].azuredatabricks.net/api/2.0"
databricks_service = "the_o=_part_of_the_url"
# let databricks know the authorization and that we're submitting json
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {databricks_token}",
}
# create data for request
data = {
"job_id": {job_id},
"fields_to_remove": ["webhook_notifications"],
}
# submit the rerquest
update_jobs_url = f"{api_base}/jobs/update?o={databricks_service}"
requests.post(update_jobs_url, headers=headers, json=data).textfix your stuff databricks.
โ04-25-2023 03:05 PM
Turns out there was a webhook but databricks had a bug that made it so it didn't show up in the UI.
The way to find out the offending portion is to look at the json for the job:
The ui is convinced that doesn't exist so you have to use the jobs API to fix it.
import requests
api_base = "https://adb-[redacted].azuredatabricks.net/api/2.0"
databricks_service = "the_o=_part_of_the_url"
# let databricks know the authorization and that we're submitting json
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {databricks_token}",
}
# create data for request
data = {
"job_id": {job_id},
"fields_to_remove": ["webhook_notifications"],
}
# submit the rerquest
update_jobs_url = f"{api_base}/jobs/update?o={databricks_service}"
requests.post(update_jobs_url, headers=headers, json=data).textfix your stuff databricks.
โ09-19-2023 06:39 AM
I had the same issue, thanks for the info! Apparently it's also possible to fix it by removing all the actual notification in the interface (the bugged one is not displayed, but if you remove everything for some reason it removes the bugged one too). I just had to save and put it back after and it worked
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now