Skip to content

IntegrityError: duplicate key value violates unique constraint "contentcuration_channel_editors_channel_id_bfb659... #3049

@sentry

Description

@sentry

Sentry Issue: STUDIO-E94

IntegrityError: duplicate key value violates unique constraint "contentcuration_channel_editors_channel_id_bfb659d3_uniq"
DETAIL:  Key (channel_id, user_id)=(44894c77424a4c9ea77f9f8a0a8a8f89, 8800) already exists.

  File "django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "newrelic/hooks/database_psycopg2.py", line 51, in execute
    **kwargs)
  File "newrelic/hooks/database_dbapi2.py", line 25, in execute
    *args, **kwargs)
  File "django_prometheus/db/common.py", line 68, in execute
    return super(CursorWrapper, self).execute(*args, **kwargs)

IntegrityError: duplicate key value violates unique constraint "contentcuration_channel_editors_channel_id_bfb659d3_uniq"
DETAIL:  Key (channel_id, user_id)=(44894c77424a4c9ea77f9f8a0a8a8f89, 8800) already exists.

(24 additional frame(s) were not displayed)
...
  File "django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "newrelic/hooks/database_psycopg2.py", line 51, in execute
    **kwargs)
  File "newrelic/hooks/database_dbapi2.py", line 25, in execute
    *args, **kwargs)
  File "django_prometheus/db/common.py", line 68, in execute
    return super(CursorWrapper, self).execute(*args, **kwargs)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions