# Mark bundle as not supporting multiuse \< HTTP/1.1 401 Unauthorized

**URL:** <https://community.sonatype.com/t/mark-bundle-as-not-supporting-multiuse-http-1-1-401-unauthorized/9212>\
**Category:** Sonatype Nexus Repository\
**Created:** [August 29, 2022, 7:13am UTC](https://community.sonatype.com/t/mark-bundle-as-not-supporting-multiuse-http-1-1-401-unauthorized/9212 "2022-08-29T07:13:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit.narang](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@ankit.narang](https://community.sonatype.com/u/ankit.narang)\
**Post date:** [August 29, 2022, 7:13am UTC](https://community.sonatype.com/t/mark-bundle-as-not-supporting-multiuse-http-1-1-401-unauthorized/9212/1 "2022-08-29T07:13:51Z")

</div>

I am trying to upload artifact to nexus repository, I am getting the 401 unauthorized error.

Also, I am trying changing the password but to no avail. It says authentication failed. I am however logged in to nexus repo GUI and CLI.

Also, I have allocated only 1 CPU to nexus, could it be an issue since I am in testing phase. Once this works, I would increase it to 4 cores as required.

Command : curl -v -u admin:Easy1234 --upload-file mozaic-1.0-SNAPSHOT.jar [http://192.168.12.176:8081/repository/maven-snapshots/mozaic-1.0-SNAPSHOT.jar](http://192.168.12.176:8081/repository/maven-snapshots/mozaic-1.0-SNAPSHOT.jar)

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [August 30, 2022, 2:54pm UTC](https://community.sonatype.com/t/mark-bundle-as-not-supporting-multiuse-http-1-1-401-unauthorized/9212/2 "2022-08-30T14:54:58Z")

</div>

I believe your curl command is incorrect, you need to ensure the binary is the body of the POST.

---

<div class="post-metadata">

**Author:** ![ankit.narang](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@ankit.narang](https://community.sonatype.com/u/ankit.narang)\
**Post date:** [August 31, 2022, 4:05am UTC](https://community.sonatype.com/t/mark-bundle-as-not-supporting-multiuse-http-1-1-401-unauthorized/9212/3 "2022-08-31T04:05:20Z")

</div>

Could you help me correct the command, I believe this is the syntax showing on the sonatype’s documentation page.
