<?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>article Talend Studio: '400 Bad Request' error when publishing a Job from Studio to Nexus in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Talend-Studio-400-Bad-Request-error-when-publishing-a-Job-from/ta-p/2150411</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;Publishing to a Nexus Release repository from Studio fails with:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;An error occurred (400 Bad Request)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;java.io.IOException: Transfer to /org/example/WebService/0.1.0/WebSerivce-0.1.0.zip failed 400 Bad Request&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The Nexus &lt;STRONG&gt;Release&lt;/STRONG&gt; repository has a setting that prevents redeployment. This prevents the same version of a Job from being published. This setting can be found in &lt;STRONG&gt;Releases&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Configuration&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Deployment Policy&lt;/STRONG&gt;.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resolution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;There are two possible solutions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Update the Job version and publish.&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Change the Deployment Policy value in Nexus to &lt;STRONG&gt;Allow Redeploy&lt;/STRONG&gt;.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Navigate to your local Nexus folder (the default location is &lt;STRONG&gt;&lt;A href="http://localhost:8091/nexus/" target="_blank"&gt;http://localhost:8091/nexus/&lt;/A&gt;&lt;/STRONG&gt;).&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Views/Repositories&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Repositories&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Open &lt;STRONG&gt;Releases&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Configuration&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Under &lt;STRONG&gt;Acess Settings&lt;/STRONG&gt;, change the &lt;STRONG&gt;Deployment Policy&lt;/STRONG&gt; to &lt;STRONG&gt;Allow Redeploy&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0693p000008u8npAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/124982iD5C1DE36C53F6ACA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008u8npAAA.png" alt="0693p000008u8npAAA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;It's always advisable (though not required) to deploy or redeploy Jobs in &lt;STRONG&gt;Snapshot&lt;/STRONG&gt;, and when the final build is ready, then deploy it to &lt;STRONG&gt;Releases&lt;/STRONG&gt;.&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 Jan 2024 02:35:30 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2024-01-23T02:35:30Z</dc:date>
    <item>
      <title>Talend Studio: '400 Bad Request' error when publishing a Job from Studio to Nexus</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Talend-Studio-400-Bad-Request-error-when-publishing-a-Job-from/ta-p/2150411</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;Publishing to a Nexus Release repository from Studio fails with:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;An error occurred (400 Bad Request)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;java.io.IOException: Transfer to /org/example/WebService/0.1.0/WebSerivce-0.1.0.zip failed 400 Bad Request&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The Nexus &lt;STRONG&gt;Release&lt;/STRONG&gt; repository has a setting that prevents redeployment. This prevents the same version of a Job from being published. This setting can be found in &lt;STRONG&gt;Releases&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Configuration&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Deployment Policy&lt;/STRONG&gt;.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Resolution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;There are two possible solutions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Update the Job version and publish.&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Change the Deployment Policy value in Nexus to &lt;STRONG&gt;Allow Redeploy&lt;/STRONG&gt;.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Navigate to your local Nexus folder (the default location is &lt;STRONG&gt;&lt;A href="http://localhost:8091/nexus/" target="_blank"&gt;http://localhost:8091/nexus/&lt;/A&gt;&lt;/STRONG&gt;).&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Views/Repositories&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Repositories&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Open &lt;STRONG&gt;Releases&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Configuration&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Under &lt;STRONG&gt;Acess Settings&lt;/STRONG&gt;, change the &lt;STRONG&gt;Deployment Policy&lt;/STRONG&gt; to &lt;STRONG&gt;Allow Redeploy&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0693p000008u8npAAA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/124982iD5C1DE36C53F6ACA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008u8npAAA.png" alt="0693p000008u8npAAA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;It's always advisable (though not required) to deploy or redeploy Jobs in &lt;STRONG&gt;Snapshot&lt;/STRONG&gt;, and when the final build is ready, then deploy it to &lt;STRONG&gt;Releases&lt;/STRONG&gt;.&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 02:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Talend-Studio-400-Bad-Request-error-when-publishing-a-Job-from/ta-p/2150411</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2024-01-23T02:35:30Z</dc:date>
    </item>
  </channel>
</rss>

