← Back to issue list

snapcraft login should check namespace status

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1714916
Type
issue
State
open
Author
~chihchun
Labels
—
Created
Updated
Closed
—

Current evaluation

Confirmed login failure for accounts without a namespace: the Store returns a useful 403 error_list, but Snapcraft displays only a generic account-information error. No linked fix is known.

Suggested action: keep open

Reason: Maintainer @~roadmr explicitly confirmed the bug and identified the Store's 403 response and error_list as the source, stating that surfacing that message should resolve it. The issue remains open with no resolving commit or PR, and the current code no longer contains the original error text, so implementation should first confirm whether craft-store now propagates the response.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 24 Complexity: 25 Confidence: 79 Actionability: 72

Issue body

snapcraft login stops to check the namespace status but return a useless error message - "Unexpected error when obtaining your account information.". The user needs to login dashboard.snapcraft.io and set the namespace to solve the login issue. eg, snapcraft login Enter your Ubuntu One SSO credentials. Email: <email address hidden> Password: We strongly recommend enabling multi-factor authentication: https://help.ubuntu.com/community/SSO/FAQs/2FA Do you agree to the developer terms and conditions. (https://dashboard.snapcraft.io/dev/agreements/new/)? [y/N] y Unexpected error when obtaining your account information. Login failed. Ref * Unexpected error when obtaining your account information. Login failed - snapcraft - snapcraft.io - https://forum.snapcraft.io/t/unexpected-error-when-obtaining-your-account-information-login-failed/1960

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 45
Quick Win: 24
Complexity: 25
Confidence: 79
Actionability: 72
keep open Confirmed login failure for accounts without a namespace: the Store returns a useful 403 error_list, but Snapcraft displays only a generic account-information error. No linked fix is known.
stealth/space-bunny-alpha
Impact: 42
Quick Win: 25
Complexity: 32
Confidence: 86
Actionability: 88
keep open Confirmed login bug: accounts without a namespace receive a generic 403 message instead of the Store's namespace guidance. No resolving fix is recorded.
qwen/qwen3.6-35b-a3b
Impact: 40
Quick Win: 20
Complexity: 30
Confidence: 60
Actionability: 70
needs triage snapcraft login fails with generic error when namespace not set; needs to check namespace status and provide helpful message
qwen/qwen3.8-27b
Impact: 25
Quick Win: 18
Staleness: 95
Complexity: 30
Confidence: 55
Support Request: 25
close stale 2017 request for snapcraft login to check namespace status and show a useful error instead of 'Unexpected error when obtaining your account information.' No labels, no comments, no activity for ~9 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 10
Confidence: 92
Support Request: 25
close stale snapcraft login fails with a generic error when namespace is unconfigured, requesting better messaging. Issue remains untriaged and inactive for over 8 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 10
close stale Request to improve snapcraft login error messaging when a user's namespace is not configured. Issue is extremely old with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 85
Support Request: 15
close stale snapcraft login fails with a generic error when a user namespace is not configured. Requests improved error messaging. Open for over 8 years with no maintainer response or labels.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1634038 (confidence 78%)

    Also concerns verifying that an account has a namespace before Snap Store operations.

Related issues

Issue Project State Summary Similarity
#1634038 Snapcraft should verify namespace before uploading snapcraft (launchpad) open Requests a pre-upload check that the logged-in user has a short namespace, avoiding expensive uploads that the Snap Store rejects afterward; the issue remains untriaged.
70%