403 from SSO/api/v2/tokens/refresh results in OOPS rather than helpful email

Bug #1668368 reported by Nicholas Skaggs on 2017-02-27
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Colin Watson

Bug Description

See https://code.launchpad.net/~juju-qa-bot/+snap/juju-candidate/+build/24410 for example. Note, uploads to the edge channel for same store package is successful.

Adding notes from Colin:

the 403 is from /api/v2/tokens/refresh, which is a bit mysterious
please quote OOPS-83ee077e2b4401cf4d156e4ce3823bc5
(though the statement log in that OOPS is junk, for reasons; but it at least includes a traceback)

Related branches

Nicholas Skaggs (nskaggs) wrote :

I'll note that this appears to affect only candidate channel. All others upload properly.

Nicholas Skaggs (nskaggs) wrote :

This is happening regularly now:

See as an example.


Colin Watson (cjwatson) wrote :

As far as I can tell, this is happening because the account that was used to authorise uploads of this snap to the store was ~jujuisquality-deactivatedaccount, which is (as the name suggests) a deactivated Launchpad account, which prevents refreshing time-limited credentials issued for it. To fix this, it will be necessary to reauthorise uploads of that snap using a different account. You can do so using (for example) the following URL, though it may also be necessary to arrange that the account that you do this with has permission to upload the snap in question to the store:


I think the only Launchpad bug here is that the error is not clearer; we should respond to this not with an OOPS but with an email indicating that you need to reauthorise uploads.

Changed in launchpad:
status: New → Invalid
Colin Watson (cjwatson) on 2017-03-16
summary: - Snap Store Upload failed "403: Client Error Forbidden"
+ 403 from SSO/api/v2/tokens/refresh results in OOPS rather than helpful
+ email
tags: added: email lp-snappy oops
Changed in launchpad:
status: Invalid → Triaged
importance: Undecided → Low
Colin Watson (cjwatson) on 2017-06-12
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2017-06-15
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2017-06-15
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers