# Log of warning about content type

**URL:** <https://community.sonatype.com/t/log-of-warning-about-content-type/8914>\
**Category:** Sonatype Nexus Repository\
**Created:** [July 1, 2022, 4:38pm UTC](https://community.sonatype.com/t/log-of-warning-about-content-type/8914 "2022-07-01T16:38:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.tixier](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@c.tixier](https://community.sonatype.com/u/c.tixier)\
**Post date:** [July 1, 2022, 4:38pm UTC](https://community.sonatype.com/t/log-of-warning-about-content-type/8914/1 "2022-07-01T16:38:35Z")

</div>

Hi,  
i have lot of error like this one :  
`Detected content type [text/html], but expected [application/java-archive]`

for example :

> 2022-07-01 18:02:24,657+0200 WARN [qtp9920270-2534193] \*UNKNOWN org.sonatype.nexus.repository.view.handlers.ExceptionHandler - Invalid content: GET /com/marklogic/ml-gradle/com.marklogic.ml-gradle.gradle.plugin/4.3.2/com.marklogic.ml-gradle.gradle.plugin-4.3.2.pom: org.sonatype.nexus.repository.InvalidContentException: Detected content type [text/html], but expected [application/xml, text/xml, application/x-xml]: com/marklogic/ml-gradle/com.marklogic.ml-gradle.gradle.plugin/4.3.2/com.marklogic.ml-gradle.gradle.plugin-4.3.2.pom.xml

how can i solve this problem ?
