Error: Cannot upload package with uppercase letters in artifactId

I started to get this strange error recently when I tried to publish some of my java library to github packages: 422 Unprocessable Entity.

After some time struggling with this, I found that body of this response has this message:

Error: Cannot upload package with uppercase letters in artifactId

Please help.

My understanding is that artifactIds by convention are supposed to be lower case … and GitHub must’ve just started rejecting artifacts with artifactIds containing upper case characters. Renamed ours to lower case and we are able to publish to GPR once again.

2 Likes