szymon_dybczak
Esteemed Contributor III

Hi @ragonzalez ,

You can try to escape quotation marks and see if that helps. Something similar to below:

{ \"custom_tags.test_tag\": { \"type\": \"fixed\", \"value\": \"test_value\" } }\n"

And you don't have to provide whole request body to command line, you can save json body to a file and then reference it in databricks cli in following way:

 

databricks jobs create --profile dev --json @your_json_with_rquest_body.json

You can take a look at my answer in similar thread, where escaping quotiaton characters helped:

https://community.databricks.com/t5/data-engineering/how-exactly-to-create-cluster-policy-via-databr...