snapcraft reports invalid credentials after successful login (new account)
Metadata
Current evaluation
Closed as not a bug: the 2018-09-11 comment identified using `snap login` instead of `snapcraft login` as the cause, and the reporter marked the issue invalid.
Resolution: closed not a bug
Reason: The reporter's 2018-09-11 comment says running `snapcraft login` fixed the missing-credential errors and explicitly marked the report invalid. No resolving PR or code commit is cited.
Evaluated by: mr-cal-bot
No scores available.
Issue body
this is a recently created account, I'm trying to publish a test snap using this tutorial:
https://docs.snapcraft.io/build-snaps/pre-built
when I tried to register a name it failed with this message:
Registering geekbench-user-test.
No valid credentials found. Have you run "snapcraft login"?
Invalid credentials: Root macaroon not in the config file. Have you run "snapcraft login"?
I was able to get around this by registering on the web: https://dashboard.snapcraft.io/register-snap/
but when I try to push my snap I get the same two error messages above, "No valid credentials" followed by the "Root macaroon" message.
I'm working in a fresh install of Ubuntu Desktop 18.04 running in VirtualBox. account was originally registered using Chrome on MacOS High Sierra.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed not a bug | Closed as not a bug: the 2018-09-11 comment identified using `snap login` instead of `snapcraft login` as the cause, and the reporter marked the issue invalid. | |
| stealth/space-bunny-alpha | — | closed not a bug | User error: reporter ran "snap login" instead of "snapcraft login", so no root macaroon was stored; author confirmed and closed the Launchpad bug as invalid with no code change. | |
| stealth/space-bunny-alpha | — | closed not a bug | Closed as invalid after the author found they had run `snap login` instead of `snapcraft login`. | |
| stealth/space-bunny-alpha | — | closed stale | Launchpad bug snapcraft#1791879 was closed as abandoned after eight years of inactivity, with no fix, workaround, or version reference recorded. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a fix, workaround, or maintainer explanation after nearly eight years of inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned and closed without resolution or comments. The report detailed snapcraft credential and macaroon errors after login. No fix or workaround was implemented due to eight years of inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The snapcraft credential and root macaroon error remains unfixed. Issue appears abandoned due to zero comments and no follow-up. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned and closed without resolution. The report detailed snapcraft failing to recognize valid credentials for new accounts, blocking login and push operations. No comments or fixes were provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The report details snapcraft credential and root macaroon errors following login. With zero comments and no patches, the issue was abandoned. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1978518 login still promots for username and password when using SNAPCRAFT_STORE_CREDENTIALS | snapcraft (launchpad) | closed | Closed as a usage misunderstanding: SNAPCRAFT_STORE_CREDENTIALS authenticates Snapcraft commands without running `snapcraft login`; no code fix was needed. | |
| #4226 snapcraft export-login ignores expires parameter | snapcraft | closed | Closed as stale without a Snapcraft fix. Maintainers attributed the short-lived macaroon to store-side refresh handling and later asked reporters to open a new ticket if the problem persisted. | |
| #1748802 `snapcraft login` authentication failure message could be friendlier | snapcraft (launchpad) | closed | Fixed by merged PR snapcore/snapcraft#1936 (commit 688588a0d), which made the store API surface server-supplied error text, so login failures now read "Authentication error: Failed to get unbound discharge: Provided email/password is not correct." | |
| #5000 WSL2: Cannot use `$SNAPCRAFT_STORE_CREDENTIALS` for login | snapcraft | closed | Credential login worked again after updated Windows, WSL2, Ubuntu, Snap, and Snapcraft components; the reporter closed the report as no longer reproducible, with no linked fix. |