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

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