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 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!