Need help with publishing to maven central

I would like to publish my library to maven central, but I’m getting this error:

> Could not PUT 'https://s01.oss.sonatype.org/content/repositories/snapshots/com/github/osipaandr/ru-numbers-by-words/1.0.0-SNAPSHOT/maven-metadata.xml'.
Received status code 403 from server: Forbidden

Publishing to maven local works fine.
With the mavenCentralUsername and mavenCentralPassword properties (from build.gradle) I can log into https://s01.oss.sonatype.org/ .
What am I missing?

That’s not a Gradle question.
OSSRH tells you “No”.
Probably due to com vs. io: Register to Publish Via the Central Portal - The Central Repository Documentation

1 Like