Bug #96128
URL reçue trop longue sur /api/notification/add -> DataError: value too long for type character varying(200)
Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
30 September 2024
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/133886/
Notification.DoesNotExist: Notification matching query does not exist. File "django/db/models/query.py", line 581, in get_or_create return self.get(**kwargs), False File "django/db/models/query.py", line 435, in get raise self.model.DoesNotExist( StringDataRightTruncation: value too long for type character varying(200) File "django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) DataError: value too long for type character varying(200) (21 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)