Stock Balance error - report data KeyError item_name

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py”, line 96, in run
res = frappe.get_attr(method_name)(frappe._dict(filters))
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/report/stock_balance/stock_balance.py”, line 29, in execute
report_data = [item, item_map[item][“item_name”],
KeyError: u’3442-1’

A KeyError means a list lookup has failed unexpectedly.

So here an item_name of 3442-1 is invalid.

What is the result when you search on this item or others like it?

To give a sense of your data maybe attach an Item list screenshot?

@sione