frappe-ui.js?v=1dbcb8cc:13155 Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 114, 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 1768, 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/client.py", line 188, in set_value
    doc.save()
  File "apps/frappe/frappe/model/document.py", line 337, in save
    return self._save(*args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 389, in _save
    self.update_children()
  File "apps/frappe/frappe/model/document.py", line 421, in update_children
    self.update_child_table(df.fieldname, df)
  File "apps/frappe/frappe/model/document.py", line 453, in update_child_table
    d.db_update()
  File "apps/frappe/frappe/model/base_document.py", line 615, in db_update
    frappe.db.sql(
  File "apps/frappe/frappe/database/database.py", line 234, in sql
    self._cursor.execute(query, values)
  File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 151, in execute
    query = self.mogrify(query, args)
  File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 129, in mogrify
    query = query % self._escape_args(args, conn)
  File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 102, in _escape_args
    return tuple(conn.literal(arg) for arg in args)
  File "env/lib/python3.10/site-packages/pymysql/cursors.py", line 102, in <genexpr>
    return tuple(conn.literal(arg) for arg in args)
  File "env/lib/python3.10/site-packages/pymysql/connections.py", line 530, in literal
    return self.escape(obj, self.encoders)
  File "env/lib/python3.10/site-packages/pymysql/connections.py", line 523, in escape
    return converters.escape_item(obj, self.charset, mapping=mapping)
  File "env/lib/python3.10/site-packages/pymysql/converters.py", line 23, in escape_item
    val = encoder(val, charset, mapping)
  File "env/lib/python3.10/site-packages/pymysql/converters.py", line 30, in escape_dict
    raise TypeError("dict can not be used as parameter")
TypeError: dict can not be used as parameter

verificationRequest.ts:217 Error updating document fields: SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)
    at revertRowInListResource (frappe-ui.js?v=1dbcb8cc:12798:38)
    at onError (frappe-ui.js?v=1dbcb8cc:12852:7)
    at handleError (frappe-ui.js?v=1dbcb8cc:12429:13)
    at Proxy.fetch2 (frappe-ui.js?v=1dbcb8cc:12393:7)
    at async Proxy.updateDocumentFields (verificationRequest.ts:214:9)
    at async Proxy.saveStep3 (verificationRequest.ts:535:9)
    at async Proxy.saveEmployment (step3.vue:575:5)
updateDocumentFields @ verificationRequest.ts:217
await in updateDocumentFields
wrappedAction @ pinia.js?v=1dbcb8cc:1228
store.<computed> @ pinia.js?v=1dbcb8cc:920
saveStep3 @ verificationRequest.ts:535
wrappedAction @ pinia.js?v=1dbcb8cc:1228
store.<computed> @ pinia.js?v=1dbcb8cc:920
saveEmployment @ step3.vue:575
onClicked @ step3.vue:366
callWithErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2152
callWithAsyncErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2159
emit @ chunk-4G2AIOYC.js?v=1dbcb8cc:7234
(anonymous) @ chunk-4G2AIOYC.js?v=1dbcb8cc:8577
emit @ button.vue:41
callWithErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2152
callWithAsyncErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2159
invoker @ chunk-4G2AIOYC.js?v=1dbcb8cc:9561
Show 11 more frames
Show less
verificationRequest.ts:538 حدث خطأ أثناء حفظ بيانات التوظيف: Error: Error updating document fields
    at Proxy.updateDocumentFields (verificationRequest.ts:219:15)
    at async Proxy.saveStep3 (verificationRequest.ts:535:9)
    at async Proxy.saveEmployment (step3.vue:575:5)
saveStep3 @ verificationRequest.ts:538
await in saveStep3
wrappedAction @ pinia.js?v=1dbcb8cc:1228
store.<computed> @ pinia.js?v=1dbcb8cc:920
saveEmployment @ step3.vue:575
onClicked @ step3.vue:366
callWithErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2152
callWithAsyncErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2159
emit @ chunk-4G2AIOYC.js?v=1dbcb8cc:7234
(anonymous) @ chunk-4G2AIOYC.js?v=1dbcb8cc:8577
emit @ button.vue:41
callWithErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2152
callWithAsyncErrorHandling @ chunk-4G2AIOYC.js?v=1dbcb8cc:2159
invoker @ chunk-4G2AIOYC.js?v=1dbcb8cc:9561
Show 9 more frames
Show less
step3.vue:578 Failed to save employment 1: Error: Error updating document fields
    at Proxy.updateDocumentFields (verificationRequest.ts:219:15)
    at async Proxy.saveStep3 (verificationRequest.ts:535:9)
    at async Proxy.saveEmployment (step3.vue:575:5)