# Uploading Artifacts

**URL:** <https://community.sonatype.com/t/uploading-artifacts/718>\
**Category:** Sonatype Nexus Repository\
**Created:** [October 25, 2018, 6:31am UTC](https://community.sonatype.com/t/uploading-artifacts/718 "2018-10-25T06:31:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![janithh92](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@janithh92](https://community.sonatype.com/u/janithh92)\
**Post date:** [October 25, 2018, 6:31am UTC](https://community.sonatype.com/t/uploading-artifacts/718/1 "2018-10-25T06:31:08Z")

</div>

I am trying to upload Snapshot.jar file to nexus and I am getting this error.

Return code is: 400, ReasonPhrase: Detected content type [application/x-sh], but expected [application/java-archive]:

When I change the file to tar extension successfully uploaded. Do you have any idea about this error?

Thank you,

---

_[View the full topic](https://community.sonatype.com/t/uploading-artifacts/718)._
