Skip to content

duplicate key value violates unique constraint "subscribers_email_key" #3153

Description

@allentown521
  1. List 1 successfully imports the email.csv file first
  2. Import the email-1.csv file from List 1 (some email addresses exist in email.csv), Overwrite user info = true

What I hoped for was normal import, just updating the user information for existing email addresses. Everything worked fine in version 4, but yesterday after upgrading to version 6.2, I couldn't import:

2026/07/18 03:35:00.638423 error executing insert: pq: duplicate key value violates unique constraint "subscribers_email_key"
2026/07/18 03:35:00.638559 error committing to DB: sql: transaction has already been committed or rolled back

Has the import logic changed? If user information with the same email address cannot be updated, what is the significance of the Overwrite user info option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions