IntegrityError: duplicate key value violates unique constraint "core_event_pkey"
Sentry Issue: 37C3-HUB-3F
UniqueViolation: duplicate key value violates unique constraint "core_event_pkey"
DETAIL: Key (id)=(4ff2e1e9-3983-5c5a-8c5d-3abcf6b4f739) already exists.
File "django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "psycopg/cursor.py", line 737, in execute
raise ex.with_traceback(None)
IntegrityError: duplicate key value violates unique constraint "core_event_pkey"
DETAIL: Key (id)=(4ff2e1e9-3983-5c5a-8c5d-3abcf6b4f739) already exists.
(11 additional frame(s) were not displayed)
...
File "core/models/schedules.py", line 323, in _load_dataitem
mapping.local_object.from_dict(
File "core/models/events.py", line 456, in from_dict
obj.save() # TODO: check if we can do this better, but we need the model saved for adding speakers
File "core/models/events.py", line 632, in save
return super().save(*args, update_fields=update_fields, **kwargs)
Import on ScheduleSource UUID('fc9a516f-0f71-40b6-a9ec-89b9a9f834d1') encountered exception on creating mapping for event "58074".