KeyError: "Jan 2020"

Hi Anyone here understand the Server error that says, KeyError: ‘Jan 2020’ everytime we open the Asset Module. See below screenshot of the error and version of the ERPNEXT.

ERPNext: v13.8.0 (HEAD)
Frappe Framework: v13.8.0 (HEAD)

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 68, in application
response = frappe.api.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 55, in handle
return frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 31, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 67, in execute_cmd
return, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 1172, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 609, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/”, line 234, in run
result = generate_report_result(report, filters, user, custom_columns)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/”, line 78, in generate_report_result
res = report.execute_script_report(filters)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/report/”, line 125, in execute_script_report
res = self.execute_module(filters)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/report/”, line 142, in execute_module
return frappe.get_attr(method_name)(frappe._dict(filters))
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/assets/report/fixed_asset_register/”, line 14, in execute
chart = prepare_chart_data(data, filters) if filters.get(“group_by”) not in (“Asset Category”, “Location”) else {}
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/assets/report/fixed_asset_register/”, line 112, in prepare_chart_data
labels_values_map[belongs_to_month].asset_value += d.get(“asset_value”)
KeyError: ‘Jan 2020’

We are currently on the Frappe Cloud and they said that this error is an ERPNEXT error and not on the server.

Anyone here can explain what workarounds we can do?

Thank you.

1 Like

Hello Everyone
Am having the same error as above when i try to print the Fixed Asset Registry Report.

Any solution to this?

ERPNext: v13.6.0 (version-13)
Frappe Framework:** v13.6.0 (version-13)