Skip to content

DataError: value too long for type character varying(30) #4135

@sentry

Description

@sentry

Sentry Issue: STUDIO-GCT

StringDataRightTruncation: value too long for type character varying(30)

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django_prometheus/db/common.py", line 71, in execute
    return super().execute(*args, **kwargs)

DataError: value too long for type character varying(30)

(15 additional frame(s) were not displayed)
...
  File "kolibri_public/utils/mapper.py", line 117, in _map
    copied_nodes = self._deep_map(
  File "kolibri_public/utils/mapper.py", line 203, in _deep_map
    self._copy_associated_objects(source_nodes)
  File "kolibri_public/utils/mapper.py", line 171, in _copy_associated_objects
    self._copy_tags(node_ids)
  File "kolibri_public/utils/mapper.py", line 146, in _copy_tags
    self._map_and_bulk_create_model(source_tags, kolibri_public_models.ContentTag)
  File "kolibri_public/utils/mapper.py", line 68, in _map_and_bulk_create_model
    Model.objects.bulk_create(cloned_sources, ignore_conflicts=True)

Failed to export channel 265e242783c947ccbc1aafbe4bd64194 to kolibri_public because of error: value too long for type character varying(30)

Metadata

Metadata

Assignees

Labels

P0 - criticalPriority: Release blocker or regression

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions