---
title: "Repairing user ID mismatches when staging a Factory"
date: "2024-02-14T06:18:38+00:00"
summary: "Resolve user ID mismatches when staging your Acquia Site Factory. Learn how to sync users correctly, identify conflicts, and fix UID discrepancies to ensure smooth website staging processes."
image:
type: "page"
url: "/site-factory/repairing-user-id-mismatches-when-staging-factory"
id: "89ce5443-eb8d-4feb-b019-2329da43643e"
---

Acquia recommends you [create your users](/site-factory/manage/users) on your production environment in Site Factory, and sync the users to your non-production environment as part of the [website staging process](/site-factory/workflow/staging). If you create a user manually on your non-production environment, it may contain a different user ID (UID) than the same username on the production environment.

If the user [listed as a website’s owner](/site-factory/manage/website#acsf-website-metadata) has a UID mismatch between your production and non-production environments, your Site Factory Management Console will display [task log warnings](/site-factory/monitor/tasklog) like the following example when staging websites to your non-production environment:

    The site owner account was not synchronized over. Aborting site
    synchronization.

Review your [task logs](/site-factory/monitor/tasklog) for messages like the following example to identify all user accounts not copied to your non-production environment:

    The data synchronization process has encountered an error. The Site
    Factory (https://www.example.acsitefactory.com) already has a separate
    account with the provided "user@example.com" username (uid: 000) which
    conflicts with the requested uid (222).

To resolve this UID mismatch and enable website staging processes to complete, [restage your Factory](/site-factory/workflow/staging) to a non-production environment and ensure the **Wipe target environment** check box is selected.