10000 Duplicate error at create-company-and-contact · Issue #993 · twentyhq/core-team-issues · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Duplicate error at create-company-and-contact #993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sentry-io bot opened this issue May 21, 2025 · 1 comment
Open

Duplicate error at create-company-and-contact #993

sentry-io bot opened this issue May 21, 2025 · 1 comment
Assignees

Comments

@sentry-io
Copy link
sentry-io bot commented May 21, 2025

Most likely an error due to an attempt to insert a person record that is a duplicate of an existing person record

Sentry Issue: TWENTY-SERVER-5K9

QueryFailedError: duplicate key value violates unique constraint "IDX_UNIQUE_87914cd3ce963115f8cb943e2ac"
  File "../../../../../src/engine/twenty-orm/repository/workspace.repository.ts", line 231, in {WorkspaceRepository#2}.save
    result = await manager.save(
  File "../../../../../src/modules/contact-creation-manager/services/create-company-and-contact.service.ts", line 208, in {CreateCompanyAndContactService#2}.createCompaniesAndContactsAndUpdateParticipants
    const createdPeople = await this.createCompaniesAndPeople(
  File "../../../../../src/modules/contact-creation-manager/jobs/create-company-and-contact.job.ts", line 28, in {CreateCompanyAndContactJob#2}.handle
    await this.createCompanyAndContactService.createCompaniesAndContactsAndUpdateParticipants(
  File "../../../../../src/engine/core-modules/message-queue/message-queue.explorer.ts", line 208, in {MessageQueueExplorer#2}.invokeProcessMethods
    await instance[processMethodName].call(instance, job.data);
...
(5 additional frame(s) were not displayed)
@bosiraphael bosiraphael moved this from 🔖 Planned to 🏗 In Progress in 🎯 Roadmap & Sprints May 30, 2025
@bosiraphael bosiraphael moved this from 🏗 In Progress to 🔖 Planned in 🎯 Roadmap & Sprints Jun 2, 2025
@bosiraphael
Copy link

Linked to twentyhq/twenty#12343 @guillim

@bosiraphael bosiraphael assigned guillim and unassigned bosiraphael Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Planned
Development

No branches or pull requests

2 participants
0