ma1sd
ma1sd copied to clipboard
Deactivating a user: Failed to remove threepid from ID server
Hi, I tried to deactivate a user with
curl -X POST 'https://matrix.xxx.xxx/_matrix/client/r0/admin/deactivate/%40someuser%3Amatrix.xxx.xxx?access_token=SOMETOKEN' --data '{}'
got
{
"errcode": "M_UNKNOWN",
"error": "Failed to remove threepid from ID server"
}
Is it me or is it ma1sd?
I had the same problem.
Workaround for me in my nginx configuration:
location /_matrix/identity/api/v1/3pid/unbind { return 404; }
I found it here: https://github.com/kamax-matrix/mxisd/wiki/mxisd-and-your-privacy
I will investigate this issue.
This might be fixed in ma1sd 2.2.0. With a self-hosted Riot Web (1.5.5), I just unbinded an email from my Matrix account on a self-hosted Synapse (1.6.1), and a notification email was sent. ma1sd logs also reported that the unbind request was authorized.
If someone finds this in 2023 or later, for me adding location /_matrix/identity/v2/3pid/unbind { return 404; }
to nginx config helped.