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: 

Databricks jobs create API throws unexpected error

Mohit_m
Valued Contributor II

Databricks jobs create API throws unexpected error

Error response :

{

"error_code": "INVALID_PARAMETER_VALUE",

"message": "Cluster validation error: Missing required field: settings.cluster_spec.new_cluster.size"

}

Any idea on this?

1 ACCEPTED SOLUTION

Accepted Solutions

Mohit_m
Valued Contributor II

Could you please specify num_workers in the json body and try API again.

Also, another recommendation can be configuring what you want in UI, and then pressing “JSON” button that should show corresponding JSON which you can use for API

View solution in original post

1 REPLY 1

Mohit_m
Valued Contributor II

Could you please specify num_workers in the json body and try API again.

Also, another recommendation can be configuring what you want in UI, and then pressing “JSON” button that should show corresponding JSON which you can use for API

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now