ZITADELZZITADEL
Powered by
wlinnaW
ZITADELβ€’6mo agoβ€’
21 replies
wlinna

Multiple errors when importing data from v2.71.6 to v4.1.0

I have tried following this guide https://zitadel.com/docs/guides/migrate/sources/zitadel multiple times, I have recreated my new Zitadel instance multiple times.
However, the result is this (from a test org):

{
    "errors": [
        {
            "type": "domain_isverified",
            "id": "281717763746037762_example.com",
            "message": "ID=V3-DKcYh Message=Errors.Org.Domain.AlreadyExists Parent=(ERROR: duplicate key value violates unique constraint \"unique_constraints_pkey\" (SQLSTATE 23505))"
        },
        {
            "type": "login_policy",
            "id": "281717763746037762",
            "message": "ID=Org-FEd32 Message=Errors.IDPConfig.NotExisting"
        },
        {
            "type": "user_link",
            "id": "282588122661781507_282583967918456835",
            "message": "ID=COMMAND-39nf2 Message=Errors.IDPConfig.NotExisting"
        },
        {
            "type": "trigger_action",
            "id": "0_0",
            "message": "ID=COMMAND-Dfhj5 Message=Errors.Flow.FlowTypeMissing"
        }
    ],
    "success": {
        "orgs": [
            {
                "orgId": "281717763746037762",
                "projectIds": ["281717802887282690"],
                "oidcAppIds": ["281717948026978306"],
                "humanUserIds": ["282588122661781507", "307682321706778626"],
                "actionIds": ["282443599746957315"],
                "orgMembers": ["307682321706778626"],
                "domains": ["example.com"]
            }
        ]
    }
}
{
    "errors": [
        {
            "type": "domain_isverified",
            "id": "281717763746037762_example.com",
            "message": "ID=V3-DKcYh Message=Errors.Org.Domain.AlreadyExists Parent=(ERROR: duplicate key value violates unique constraint \"unique_constraints_pkey\" (SQLSTATE 23505))"
        },
        {
            "type": "login_policy",
            "id": "281717763746037762",
            "message": "ID=Org-FEd32 Message=Errors.IDPConfig.NotExisting"
        },
        {
            "type": "user_link",
            "id": "282588122661781507_282583967918456835",
            "message": "ID=COMMAND-39nf2 Message=Errors.IDPConfig.NotExisting"
        },
        {
            "type": "trigger_action",
            "id": "0_0",
            "message": "ID=COMMAND-Dfhj5 Message=Errors.Flow.FlowTypeMissing"
        }
    ],
    "success": {
        "orgs": [
            {
                "orgId": "281717763746037762",
                "projectIds": ["281717802887282690"],
                "oidcAppIds": ["281717948026978306"],
                "humanUserIds": ["282588122661781507", "307682321706778626"],
                "actionIds": ["282443599746957315"],
                "orgMembers": ["307682321706778626"],
                "domains": ["example.com"]
            }
        ]
    }
}

IDP settings did not get transferred. In addition, the users are not activated and Zitadel is telling me to resend the activation email.

Is there a practical way to import data from the old Zitadel instance?

My old Zitadel v2.71.6 uses Cockroach while the new one uses Postgres.
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Regression from v4.7.0 to v4.7.1 in zitadel-login
FidgetFFidget / questions-help-bugs
2w ago
500 errors on API V2 after migration to Zitadel v4
myoufMmyouf / questions-help-bugs
3mo ago
Upgrading from v2.x.x to v4.x.x
Keyur BholeKKeyur Bhole / questions-help-bugs
3d ago
Upgrade from 2.70.x to 2.71.x fails with migration errors
tfmmTtfmm / questions-help-bugs
11mo ago