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: 

Getting

anantkharat
Visitor
payload = {
"clusters": [
{
"num_workers": 4
}
],
"pipeline_id": pipeline_id
}
update_url = f"{workspace_url}/api/2.0/pipelines/{pipeline_id}"
response = requests.put(update_url, headers=headers, json=payload)


for this, i'm getting below output with status code 400.
{"error_code":"INVALID_PARAMETER_VALUE","message":"Cannot modify catalog of an existing pipeline. Existing catalog: 'doha'. Requested catalog: ''"}
 
i also have tried with 
 
url = f"{workspace_url}/api/2.0/pipelines/{pipeline_id}"
response = requests.get(url, headers=headers)
response.json()
 
using above response and modifying the num_workers, without changing any catalog parameter and also with catalog parameter same as previous. but still getting same error..

kindly help





0 REPLIES 0

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