Unpublishing failed: Unauthorized


During the publishing of my package I had some problems and now I can’t publish:

Publishing language-mocodo@v0.1.2 failed
Creating new version failed: Git tag not found

Or unpublish:

Unpublishing language-mocodo failed
Unpublishing failed: Unauthorized

I have tried apm login but it not solve the problem.

Link of my package: https://atom.io/packages/language-mocodo

Can anybody help me out? Thanks in advance!


Did you delete the repository and then recreate it after it was first published?


Yes I do
Because I have made a mistake and it’s the first time I have published a package


You should probably take a look at the section on maintaining your packages in the Atom Flight Manual:


Specifically that you shouldn’t delete the repository before unpublishing your package because it will break the permissions that allow you to update the package.

I’ve updated the record in the database. You should have access again (as long as you don’t delete and recreate the repository yet again :wink:)


Oh ok!
Thanks a lot it works!

(yes I’ll be careful next time :sweat_smile: )