# 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:** 3\
**Page:** 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!

---

<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 17, 2025, 1:43pm UTC](https://community.sonatype.com/t/publish-portal-returns-500-when-artifacts-have-validation-errors/14802/2 "2025-04-17T13:43:11Z")

</div>

I have now tried uploading files with correct signatures.

And they also result in a 500 when calling /status.

---

<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 17, 2025, 1:43pm UTC](https://community.sonatype.com/t/publish-portal-returns-500-when-artifacts-have-validation-errors/14802/3 "2025-04-17T13:43:16Z")

</div>

Duh!

I just rechecked the documentation, and the /status resource is a POST method.

I assumed that an idempotent operation (which I assume /status to be) would be a GET.

My bad.
