Skip to content

IntegrityError: duplicate key value violates unique constraint "counter_billinginfo_customer_id_key" #603

Open
@ae-utbm-sentry

Description

@ae-utbm-sentry

Sentry Issue: SITH3-36

UniqueViolation: duplicate key value violates unique constraint "counter_billinginfo_customer_id_key"
DETAIL:  Key (customer_id)=(25285) already exists.

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)

IntegrityError: duplicate key value violates unique constraint "counter_billinginfo_customer_id_key"
DETAIL:  Key (customer_id)=(25285) already exists.

(14 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "django/db/backends/utils.py", line 79, in _execute
    with self.db.wrap_database_errors:
  File "django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions