griffin
(Jonathan Griffin)
June 5, 2021, 7:28am
2
I might be wrong about the possible correlation, but I recall reading something about a bug fix related to deleting an account when it had PMs recently.
Here it is:
We are using SSO and when someone closes their account, we delete their Discourse account too through the API (or anonymize it, if there’s posts).
However, something seems to be amiss as we have been seeing some 403 errors while doing this. Poking a little bit, I found this to be the error message returned by the API call:
{
"http_code": 403,
"body": "{\"deleted\":false,\"message\":\"User XXX has 0 posts, so they can't be deleted.\"}"
}
Bit, if there’s 0 posts, it should be possible t…
1 Like