<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CLI jobs create issue in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/cli-jobs-create-issue/m-p/89768#M1783</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/120589"&gt;@ragonzalez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can try to escape quotation marks and see if that helps. Something similar to below:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{ \"custom_tags.test_tag\": { \"type\": \"fixed\", \"value\": \"test_value\" } }\n"&lt;/LI-CODE&gt;&lt;P&gt;And you don't have to provide whole request body to command line, you can save json body&amp;nbsp;&lt;SPAN&gt;to a file and then reference it in databricks cli in following way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks jobs create --profile dev --json @your_json_with_rquest_body.json&lt;/LI-CODE&gt;&lt;P&gt;You can take a look at my answer in similar thread, where escaping quotiaton characters helped:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/how-exactly-to-create-cluster-policy-via-databricks-cli/m-p/81039#M36208" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/how-exactly-to-create-cluster-policy-via-databricks-cli/m-p/81039#M36208&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 10:40:12 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2024-09-13T10:40:12Z</dc:date>
    <item>
      <title>CLI jobs create issue</title>
      <link>https://community.databricks.com/t5/administration-architecture/cli-jobs-create-issue/m-p/89693#M1771</link>
      <description>&lt;P&gt;I am trying to create a job using the CLI and getting the below error attached&lt;BR /&gt;The command itself was grabbed from the UI so I know it is ok&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ragonzalez_0-1726182063032.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/11135iC7EE6EEED086EFE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ragonzalez_0-1726182063032.png" alt="ragonzalez_0-1726182063032.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 23:01:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/cli-jobs-create-issue/m-p/89693#M1771</guid>
      <dc:creator>ragonzalez</dc:creator>
      <dc:date>2024-09-12T23:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: CLI jobs create issue</title>
      <link>https://community.databricks.com/t5/administration-architecture/cli-jobs-create-issue/m-p/89718#M1775</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.upsers-ups.com" target="_self"&gt;upsers ups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 07:31:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/cli-jobs-create-issue/m-p/89718#M1775</guid>
      <dc:creator>Anne165Hernadez</dc:creator>
      <dc:date>2024-09-13T07:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: CLI jobs create issue</title>
      <link>https://community.databricks.com/t5/administration-architecture/cli-jobs-create-issue/m-p/89768#M1783</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/120589"&gt;@ragonzalez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can try to escape quotation marks and see if that helps. Something similar to below:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{ \"custom_tags.test_tag\": { \"type\": \"fixed\", \"value\": \"test_value\" } }\n"&lt;/LI-CODE&gt;&lt;P&gt;And you don't have to provide whole request body to command line, you can save json body&amp;nbsp;&lt;SPAN&gt;to a file and then reference it in databricks cli in following way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks jobs create --profile dev --json @your_json_with_rquest_body.json&lt;/LI-CODE&gt;&lt;P&gt;You can take a look at my answer in similar thread, where escaping quotiaton characters helped:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/how-exactly-to-create-cluster-policy-via-databricks-cli/m-p/81039#M36208" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/how-exactly-to-create-cluster-policy-via-databricks-cli/m-p/81039#M36208&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 10:40:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/cli-jobs-create-issue/m-p/89768#M1783</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-09-13T10:40:12Z</dc:date>
    </item>
  </channel>
</rss>

