# 403 error when deploy package

**URL:** <https://community.sonatype.com/t/403-error-when-deploy-package/15196>\
**Category:** Central Repository\
**Created:** [June 26, 2025, 2:42pm UTC](https://community.sonatype.com/t/403-error-when-deploy-package/15196 "2025-06-26T14:42:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Qing\_Peng](https://avatars.discourse-cdn.com/v4/letter/q/8edcca/32.png) [@Qing\_Peng](https://community.sonatype.com/u/Qing_Peng)\
**Post date:** [June 26, 2025, 2:42pm UTC](https://community.sonatype.com/t/403-error-when-deploy-package/15196/1 "2025-06-26T14:42:44Z")

</div>

I am trying to migrating from OSSRH service to Central Publishing Portal, and I am using jreleaser to publish the package.

From the log, the variables are loaded from ~/config.toml, and I have tried to set JRELEASER\_MAVENCENTRAL\_USERNAME and JRELEASER\_MAVENCENTRAL\_PASSWORD with the account credential as well as the user token, in both way I got 403 forbidden error.

---

_[View the full topic](https://community.sonatype.com/t/403-error-when-deploy-package/15196)._
