Item Price data importing failing - Item Price None not found

Hi all, I’m trying to import a Google Sheet with item pricing split up into multiple price lists per supplier, but when I try to import Item Price I get:

Item Price None not found

Traceback (most recent call last):
File “apps/frappe/frappe/core/doctype/data_import/”, line 147, in import_data
doc = self.process_doc(doc)
File “apps/frappe/frappe/core/doctype/data_import/”, line 242, in process_doc
return self.update_record(doc)
File “apps/frappe/frappe/core/doctype/data_import/”, line 266, in update_record
existing_doc = frappe.get_doc(self.doctype, doc.get(id_field.fieldname))
File “apps/frappe/frappe/”, line 1176, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File “apps/frappe/frappe/model/”, line 74, in get_doc
return controller(*args, **kwargs)
File “apps/frappe/frappe/model/”, line 106, in init
File “apps/frappe/frappe/model/”, line 149, in load_from_db
File “apps/frappe/frappe/”, line 522, in throw
File “apps/frappe/frappe/”, line 490, in msgprint
File “apps/frappe/frappe/”, line 442, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.DoesNotExistError: Item Price None not found

For those looking for this, found the solution from Error updating price list via data import - I was trying to update records rather than insert new records. Changing it into an Insert job fixed it

1 Like