Gmail failed sync - Duplicate_entry_detected - Self Hosted 1.10.2

Hey, In our team, some users can sync their email correctly and some have one problem which is DUPLICATE_ENTRY_DETECTED
[Nest] 29 - 11/10/2025, 4:44:47 PM ERROR [MessagingMessagesImportService] Error (DUPLICATE_ENTRY_DETECTED) importing messages for workspace 965a4ab4 and account a237c3d1: A duplicate entry was detected. The combination of Message Channel Id, Message Id must be unique. - undefined
[Nest] 29 - 11/10/2025, 4:44:47 PM ERROR [MessagingMessagesImportService] Error (DUPLICATE_ENTRY_DETECTED) importing messages for workspace 965a4ab4 and account a237c3d1: A duplicate entry was detected. The combination of Message Channel Id, Message Id must be unique. - undefined
any idea how to deal with that? It's preventing a few of us to use Twenty where the rest is working fine! Thanks!
6 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS3w ago
@Huzef
Absynth
AbsynthOP3w ago
from what I can see, it seems that there is no deduplicate by batch (I can create a detailed Github Issue if needed 🙂 )
Huzef
Huzef3w ago
was there a stack there somewhere near it?
Absynth
AbsynthOP3w ago
Sorry not sure that I understand what you mean
charles
charles3w ago
I believe this is tied to the SQL transaction issues we have in our ORM layer. v1.11 will likely use the new ORM layer and we can check if the issue persists (Hi Jb!)
Absynth
AbsynthOP3w ago
Hey @charles ! ook sounds good to me, so for now I wait for the next update!

Did you find this page helpful?