Errors "Cannot convert null to an object" in the To-dos widgets when opening an approval under My tasks in Employee CenterIssue When a user opens an approval record under My tasks in Employee Center, a server JavaScript error is shown. The error does not occur for an admin user. The error shown on the page: Server JavaScript error Cannot convert null to an object. ErrorLine number 132 (sp_widget.e6b9c0f6531130107eb7ddeeff7b1278.script) Failing widget: 'Todos Approval Details Header' (e6b9c0f6531130107eb7ddeeff7b1278) called from: 'Todos Requested Item Approval' (7e258e3a531130107eb7ddeeff7b124e) called from: 'To-dos task Line Item' (a4716c8f53d3130030f3ddeeff7b1288) Line number 58 (sp_widget.7e258e3a531130107eb7ddeeff7b124e.script) ErrorFailing widget: 'Todos Requested Item Approval' (7e258e3a531130107eb7ddeeff7b124e) called from: 'To-dos task Line Item' (a4716c8f53d3130030f3ddeeff7b1288) The same failures are logged as warnings in the system log: com.glide.script.RhinoEcmaError: Cannot convert null to an object. sp_widget.e6b9c0f6531130107eb7ddeeff7b1278.script : Line(132) column(0) ==> 132: var taskTable = approvalGr.document_id.getReferenceTable(); com.glide.script.RhinoEcmaError: Cannot convert null to an object. sp_widget.7e258e3a531130107eb7ddeeff7b124e.script : Line(58) column(0) ==> 58: var currencyCode = ritmGr.price.getSessionCurrencyCode(); Affected users hold a non-admin licence or role set (for example Business Stakeholder). Release All Cause The affected user most likely does not have permission to read these two fields, so the widgets receive a null value and the script fails: sysapproval_approver.document_id. This is read by 'Todos Approval Details Header' at line 132.sc_req_item.price. This is read by 'Todos Requested Item Approval' at line 58. Admin users can read both fields, which is why the error does not appear for them. Resolution The approval function still works for the user, so the warnings can be ignored. To remove the warnings, give the affected users read access to both fields: Review the field-level ACLs on sysapproval_approver.document_id and sc_req_item.price.Adjust the ACLs, or grant the affected users a role that already has read access to these fields.Impersonate an affected user, open an approval under My tasks, and confirm the error no longer appears.