I’ve recently updated my package and created a new snap today but when I try to upload it I get the following error.

$ snapcraft push --release=stable smalltextpad_1.3.5_amd64.snap

Received 401: ‘{“error_list”: [{“message”: “The request is missing an Authorization header field containing a valid macaroon”, “extra”: {“realm”: “Devportal”}, “code”: “macaroon-authorization-required”}]}’

Any advice would be great!

I suspect your saved authorisation has expired (it lasts for 1 year from when you initially login). If I’m right, you will need to re-login to snapcraft with snapcraft login to refresh the authorisation again.


Thank you, what I had done was snap login instead of snapcraft login so now all sorted :slight_smile: