ShengaelS
ZITADELโ€ข11mo agoโ€ข
7 replies
Shengael

Custom invitation flow

Hi everyone,

Iโ€™m experimenting with Zitadel and trying to manage the invitation flow myself, including sending emails. I attempted to create a user via the API and then request an invitation code, but Iโ€™m getting the following error:

User is already initialized (COMMAND-EF34g)

The user I create has an email address that is considered verified but has no authentication method associated.

Does anyone know why this error occurs and how to work around it? Should the invitation be handled differently in this case?

Thanks in advance for your help! ๐Ÿ˜Š

Environment: Self Hosting
Version: v2.70.0
Stack: Node.JS / typescript
Was this page helpful?