Skip to content

sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint #411

Open
@lightjay

Description

@lightjay

I'm getting this error when running a pipeline from a custom tap build on the SDK (tap-pipedrive).

sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "leads_pkey"
DETAIL:  Key (id)=(8e7e49f0-affa-11ee-842e-53335752a2c3) already exists.

I've double checked the results of the tap and it doesn't seem to be sending duplicates. This error occurs on the first record of the stream. Does this target not overwrite pre-existing rows?

Supposedly this issue was already raised with #28 and fixed with #29 but if so, I'm not sure why I'm getting this ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions