CLI jobs create issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2024 04:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2024 12:31 AM
Hello!
If you’re getting an error while creating a job using the CLI, ensure the command syntax is correct, update the CLI to the latest version, verify your permissions, and use the --debug option for detailed error messages. Also, check that you’re specifying the correct AWS region and endpoint. If the issue persists, please share the specific error message for further assistance.
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2024 03:40 AM
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.jsonYou 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...