keybase / keybase/client

how to repro: ERROR CODE 218 - implicit team name mismatch

Open
#21,900 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

  1. Send a message to a telephone number, thereby starting a chat.
  2. Other user with that telephone number signs up, creates account, etc.
  3. Exchange some messages, all goes well.
  4. Other user removes telephone number from their profile
  5. No messages can be sent from either party, chat history can not be deleted.

Workaround: re-add number, delete history, delete number, create new chat.

Maybe when a signup is confirmed, an implicit team should be re-created as a team based on the actual keybase identities, since the other associations can be ephemeral?

Error: ERROR CODE 218 - implicit team name mismatch: me,other_user != number@phone,me in method chat.1.local.postDeleteHistoryByAge at new l
(file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:478984) at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:479580 at d (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:479619) at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:1593034 at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:3569127 at e._call (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:3140947) at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:3141087 at s (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:3140727) at e._fulfill (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:3141057) at s (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/main.bundle.js:1:3140258)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the numbered chat flow, especially removing the phone number, then inspect chat.1.local.postDeleteHistoryByAge and the referenced main.bundle.js stack trace. Done means messages can be sent and chat history can be deleted after the number is removed, without ERROR CODE 218.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.