cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.