Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Talend Studio: '400 Bad Request' error when publishing a Job from Studio to Nexus

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Talend Studio: '400 Bad Request' error when publishing a Job from Studio to Nexus

Last Update:

Jan 22, 2024 9:35:30 PM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:05:43 AM

Publishing to a Nexus Release repository from Studio fails with:

An error occurred (400 Bad Request)
java.io.IOException: Transfer to /org/example/WebService/0.1.0/WebSerivce-0.1.0.zip failed 400 Bad Request

The Nexus Release repository has a setting that prevents redeployment. This prevents the same version of a Job from being published. This setting can be found in Releases > Configuration > Deployment Policy.

Resolution

There are two possible solutions:

  1. Update the Job version and publish.
  2. Change the Deployment Policy value in Nexus to Allow Redeploy.

    1. Navigate to your local Nexus folder (the default location is http://localhost:8091/nexus/).
    2. Select Views/Repositories > Repositories.
    3. Open Releases.
    4. Select Configuration.
    5. Under Acess Settings, change the Deployment Policy to Allow Redeploy:

      0693p000008u8npAAA.png

 

It's always advisable (though not required) to deploy or redeploy Jobs in Snapshot, and when the final build is ready, then deploy it to Releases.
Labels (2)
Version history
Last update:
‎2024-01-22 09:35 PM
Updated by: