Unable to publish the library to the Sonatype Nexus repository

When I try to publish the library to the Sonatype Nexus repository, I get this:

Task :image-preview:publishReleasePublicationToMyImagePreviewSnapshotRepository FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:image-preview:publishReleasePublicationToMyImagePreviewSnapshotRepository’.

Failed to publish publication ‘release’ to repository ‘MyImagePreviewSnapshot’
Could not PUT ‘https://s01.oss.sonatype.org/content/repositories/snapshots/io/github/cypher103360/image-preview/1.0.0/image-preview-1.0.0.aar’. Received status code 400 from server: Bad Request

Could you please help me to address the issue?

Hi, for central take a look in the central forum or follow the support documentation.