# Publish Portal returns 500 when artifacts have validation errors

**URL:** <https://community.sonatype.com/t/publish-portal-returns-500-when-artifacts-have-validation-errors/14802>\
**Category:** Central Repository\
**Tags:** rest\
**Created:** [April 16, 2025, 2:25pm UTC](https://community.sonatype.com/t/publish-portal-returns-500-when-artifacts-have-validation-errors/14802 "2025-04-16T14:25:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jesper\_Skov](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@Jesper\_Skov](https://community.sonatype.com/u/Jesper_Skov)\
**Post date:** [April 16, 2025, 2:25pm UTC](https://community.sonatype.com/t/publish-portal-returns-500-when-artifacts-have-validation-errors/14802/1 "2025-04-16T14:25:33Z")

</div>

I am updating my GitHub [Action](https://github.com/jskov/action-maven-publish/tree/api_v1) for uploading artifacts.

The last days I have worked on the switch from OSSRH to Publish Portal.  
And I think I can publish now.

But you should know that the /status REST resource returns 500 when there are validation errors.

Specifically I get:

```json
{"httpStatus":500,"errorCode":10500,"message":"Internal Server Error occurred","explanation":null,"data":null}

```

for deployment id 45642884-4980-4fbd-9c62-8110f329da28 in the dk.mada namespace.

Thanks!

---

_[View the full topic](https://community.sonatype.com/t/publish-portal-returns-500-when-artifacts-have-validation-errors/14802)._
