From 8492ef18fa56d0600b35b5bd6b3b70d921e8293d Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 9 Jun 2023 12:36:09 +0100 Subject: [PATCH] Ignore 409 errors on user syncs --- packages/server/src/events/docUpdates/syncUsers.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/server/src/events/docUpdates/syncUsers.ts b/packages/server/src/events/docUpdates/syncUsers.ts index 7957178168..5777445249 100644 --- a/packages/server/src/events/docUpdates/syncUsers.ts +++ b/packages/server/src/events/docUpdates/syncUsers.ts @@ -26,6 +26,10 @@ export default function process(updateCb?: UpdateCallback) { // if something not found - no changes to perform if (err?.status === 404) { return + } + // The user has already been sync in another process + else if (err?.status === 409) { + return } else { logging.logAlert("Failed to perform user/group app sync", err) }