Skip to content

403 NotAuthorizedError when Logging after removing self from a shared mailbox #9143

@hrb-hub

Description

@hrb-hub

When logging in after removing self from a shared mailbox, the user sees:

  • a NotAuthorizedError on Desktop.
  • a MembershipRemovedError on Web.

Steps to reproduce:

  • Using client A, add yourself to a shared mailbox.
  • Using client B, login and wait for the client to sync.
  • Logout from client B.
  • Using client A, remove yourself from the shared mailbox.
  • Using client B, login again and see error.

Perform these steps with client B being Desktop, then Web. See that two different errors are thrown:
On Desktop:

Feedback v287.250616.0 - NotAuthorizedError - PAID - linux
Client: linux
Type: PAID
Tutanota version: 287.250616.0
Timestamp (UTC): Mon, 16 Jun 2025 16:19:34 GMT
Time zone: Europe/Berlin
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) tutanota-desktop-test/287.250616.0 Chrome/134.0.6998.205 Electron/35.5.0 Safari/537.36
NotAuthorizedError
Error message: 403: OStXU4A----4 | GET /rest/tutanota/mailfolder/OStG9NH--3-4
Stacktrace:
NotAuthorizedError: 403: OStXU4A----4 | GET /rest/tutanota/mailfolder/OStG9NH--3-4
at La (asset://app/common-min-C4N3d9Tk.js:1:38667)
at suspensionHandler.isSuspended.h.onload (asset://app/mail-worker.js:18:56441)

On Web:

Feedback v287.250616.0 - MembershipRemovedError - PAID - Browser
Client: Browser
Type: PAID
Tutanota version: 287.250616.0
Timestamp (UTC): Mon, 16 Jun 2025 16:08:06 GMT
Time zone: Europe/Berlin
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
MembershipRemovedError
Error message: user has been removed from contact or mail group
Stacktrace:
MembershipRemovedError. user has been removed from contact or mail group

Metadata

Metadata

Assignees

Labels

bugbroken functionality, usability problems, unexpected errorsstate:testedWe tested it and are about to release it

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions