Can not delete user via Ory Cloud UI (previous owner)
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] This issue affects my Ory Cloud project.
- [X] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Describe the bug
I'm trying to delete a user via the Ory Cloud UI who was the previous owner for our project. Sending the following request:
:method: DELETE
:scheme: https
:authority: api.console.ory.sh
:path: /projects/$PROJECT_ID/members/$MEMBER_ID
Accept: application/json, text/plain, */*
Origin: https://console.ory.sh/
[…]
Referer: https://console.ory.sh/
Accept-Encoding: gzip, deflate, br
Host: api.console.ory.sh
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15
Content-Length: 0
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Connection: keep-alive
the returned response is
{
"error": {
"code": 500,
"status": "Internal Server Error",
"request": "5092405a-161c-9446-880b-2e3c84b65464",
"reason": "Expected to retrieve the user's invite but got an error: `Unable to locate the resource`",
"message": "An internal server error occurred, please contact the system administrator"
}
}
@tricky42 has the IDs in our Slack PMs if they're relevant to solve this issue.
Reproducing the bug
See bug description
Relevant log output
No response
Relevant configuration
No response
Version
Ory Cloud
On which operating system are you observing this issue?
Ory Cloud
In which environment are you deploying?
No response
Additional Context
No response
@Benehiko can you please take a look at this issue? :)
How did you change the owner in the first place?
I believe the issue has been resolved, can you confirm and close this if yes please @danbim 🙏
Closing as per https://github.com/ory/network/issues/147#issuecomment-1402779424