Frappe Chat app issue user encountered

I am having an issue while my user post chat he received an error which is pasted below please tell me how to resolve.

App Versions

“chat”: “0.0.1”,
“erpnext”: “14.0.0-dev”,
“frappe”: “14.0.0-dev”,
“frappe_whatsapp”: “0.0.1”,
“hrms”: “1.0.0”,
“payments”: “0.0.1”




Traceback (most recent call last):
File “apps/frappe/frappe/”, line 56, in application
response = frappe.api.handle()
File “apps/frappe/frappe/”, line 53, in handle
return _RESTAPIHandler(call, doctype, name).get_response()
File “apps/frappe/frappe/”, line 69, in get_response
return self.handle_method()
File “apps/frappe/frappe/”, line 79, in handle_method
return frappe.handler.handle()
File “apps/frappe/frappe/”, line 45, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/”, line 83, in execute_cmd
return, **frappe.form_dict)
File “apps/frappe/frappe/”, line 1584, in call
return fn(*args, **newargs)
File “apps/chat/chat/api/”, line 29, in send
update_room(room=room, last_message=content)
File “apps/chat/chat/utils/”, line 75, in update_room
frappe.db.set_value(‘Chat Room’, room, new_values,
File “apps/frappe/frappe/database/”, line 893, in set_value
File “apps/frappe/frappe/query_builder/”, line 86, in execute_query
return frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
File “apps/frappe/frappe/database/”, line 210, in sql
self._cursor.execute(query, values)
File “env/lib/python3.10/site-packages/pymysql/”, line 148, in execute
result = self._query(query)
File “env/lib/python3.10/site-packages/pymysql/”, line 310, in _query
File “env/lib/python3.10/site-packages/pymysql/”, line 548, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “env/lib/python3.10/site-packages/pymysql/”, line 775, in _read_query_result
File “env/lib/python3.10/site-packages/pymysql/”, line 1156, in read
first_packet = self.connection._read_packet()
File “env/lib/python3.10/site-packages/pymysql/”, line 725, in _read_packet
File “env/lib/python3.10/site-packages/pymysql/”, line 221, in raise_for_error
File “env/lib/python3.10/site-packages/pymysql/”, line 143, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.DataError: (1406, “Data too long for column ‘last_message’ at row 1”)

Request Data

“type”: “POST”,
“args”: {
“content”: “I am looking for a small FastAPI app to be built that works with files via Azure Blob Storage. I will need the following endpoints and anything else you think would be important: Create/Upload a new file Read/Download a file Update a file name or other data Delete File”,
“user”: “Saad”,
“room”: “CR00006”,
“email”: “
“headers”: {},
“error_handlers”: {},
“url”: “/api/method/chat.api.message.send”

Response Data

“exception”: “pymysql.err.DataError: (1406, "Data too long for column ‘last_message’ at row 1")”