matrix-org / matrix-org/matrix-js-sdk
deactivateAccount() is returning [Unknown error code: Unknown message]
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 704
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 40
Description
i tried to deactivate my logged in account using deactivateAccount() function with no auth parameter since i logged in using token and it requires auth only for interactiveauth but the response is [Unknown error code: Unknown message]. I also tried passing deactivateAccount(enable=true) it returned [M_UNKNOWN: Internal server error]. can you please tell me how to deactivate account.
Contributor guide
Research direction
Start at the deactivateAccount() entry point and reproduce both calls described in the issue: without an auth parameter and with enable=true. Trace the returned error responses and compare them with the expected account-deactivation API behavior; done means the method either deactivates the account correctly or reports a clear, actionable error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100