clojars 2022-01-20

Hi! I'm trying to deploy a new version of ring-logger to Clojars, but I'm getting a 401 error. Looking at history, some people got this same error when they tried using their personal password, not a deploy token, but I think I'm using a deploy token. This is my first time deploying to Clojars though, so I might be doing something wrong. Error in thread ๐Ÿงต

Could not transfer artifact ring-logger:ring-logger:pom.asc:1.1.0 from/to clojars (): Failed to transfer file  with status code 401
Failed to deploy artifacts: Could not transfer artifact ring-logger:ring-logger:jar:1.1.0 from/to clojars (): Failed to transfer file  with status code 401

It's possible that I don't have full access, it's not my library originally

in my project.clj I currently have defproject ring-logger/ring-logger "1.1.0" , originally it was just ring-logger. The Leiningen tutorial mentioned that you should have the group name there

Looking at the logs, it looks like your request is getting rejected because the password value you are sending isn't a deploy token. Can you double-check that?

The token is something that starts with CLOJARS_, right?

correct. and be sure to send your clojars username as the user

that should be my email, right?

no, it would be your clojars username. We don't support emails for deploying.

ah, that is probably the issue then

worked, thank you

sorry for the dumb mistake ๐Ÿ™‚

no problem, happy to help!