network icon indicating copy to clipboard operation
network copied to clipboard

Can not delete user via Ory Cloud UI (previous owner)

Open danbim opened this issue 3 years ago • 2 comments

Preflight checklist

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

danbim avatar Aug 19 '22 09:08 danbim

@Benehiko can you please take a look at this issue? :)

aeneasr avatar Aug 19 '22 10:08 aeneasr

How did you change the owner in the first place?

rikardbakkehaug avatar Sep 26 '22 14:09 rikardbakkehaug

I believe the issue has been resolved, can you confirm and close this if yes please @danbim 🙏

vinckr avatar Jan 24 '23 22:01 vinckr

Closing as per https://github.com/ory/network/issues/147#issuecomment-1402779424

aeneasr avatar Jun 19 '23 12:06 aeneasr