org_exists: That id or member is taken

Organisation and team ids share one namespace on a deployment, and an identity is a member of one organisation. The id is already an organisation or team id, or the identity is a member of another organisation here. It also answers a change to an organisation that another request changed at the same moment; retry it. Nothing changed.

What to do

On the wire

HTTP 409, error type state_error. Every client receives {"error": "state", "reason": "org_exists", "detail": "…"}. The organisation routes add errorDetail (with param org) only when the request sends Dynamo-Error-Detail: 1, on a single-tenant core and on the hosted tier alike.

See organisations and roles and all error codes.