When I try to mark an email as read I get the following error:
the error looks like this:
App Versions
{
"banking": "15.1.0",
"builder": "1.0.0-dev",
"erpnext": "16.0.0-dev",
"frappe": "16.0.0-dev",
"gameplan": "0.0.1",
"lms": "1.0.0",
"print_designer": "1.3.3",
"raven": "1.4.4",
"tldraw_whiteboard": "0.0.1",
"wiki": "2.0.0"
}
Route
Form/Communication/88abe3215d
Traceback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1795, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
File "apps/frappe/frappe/email/inbox.py", line 57, in create_email_flag_queue
uid, seen_status, email_account = frappe.db.get_value(
File "apps/frappe/frappe/database/database.py", line 509, in get_value
result = self.get_values(
File "apps/frappe/frappe/database/database.py", line 613, in get_values
out = self._get_values_from_table(
File "apps/frappe/frappe/database/database.py", line 871, in _get_values_from_table
query = frappe.qb.get_query(
File "apps/frappe/frappe/query_builder/utils.py", line 58, in get_query
return Engine().get_query(*args, **kwargs)
File "apps/frappe/frappe/database/query.py", line 73, in get_query
self.apply_fields(fields)
File "apps/frappe/frappe/database/query.py", line 101, in apply_fields
self.fields = self.parse_fields(fields)
File "apps/frappe/frappe/database/query.py", line 335, in parse_fields
_fields.append(parse_field(_field))
File "apps/frappe/frappe/database/query.py", line 316, in parse_field
return self.get_function_object(field)
File "apps/frappe/frappe/database/query.py", line 236, in get_function_object
if _operator in initial_fields:
TypeError: argument of type 'int' is not iterable
Request Data
{
"type": "POST",
"args": {
"names": "[\"88abe3215d\"]",
"action": "Read",
"flag": "(\\SEEN)"
},
"freeze": true,
"headers": {},
"error_handlers": {},
"url": "/api/method/frappe.email.inbox.create_email_flag_queue",
"request_id": null
}
Response Data
{
"exception": "TypeError: argument of type 'int' is not iterable",
"exc_type": "TypeError"
}
any idea what causes this issue?