error messaging for invalid macaroon could be improved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Chris Patterson |
Bug Description
Today I went to use 'snapcraft list-revisions' and was greeted with:
$ snapcraft list-revisions snappy-debug
Error fetching account information from store: The request is missing an Authorization header field containing a valid macaroon
[2]
I tried other snaps I own and they were all the same. Googling didn't help me and the error message made me think something was wrong with the store. It then occurred to me that perhaps the macaroon expired, so I did 'snapcraft login' and everything started working again. Assuming the issue was actually that the macaroon expired and I did the right thing instead of working around the problem, I suspect the error message could be improved to guide people to snapcraft login.
Changed in snapcraft: | |
assignee: | nobody → Chris Patterson (cjp256) |
I too am still seeing this when trying to push a snap.
Received: authorization- required: The request is missing an Authorization header field containing a valid macaroon
- macaroon-