Frappe exceptions LinkValidationError

I have a problem when trying to import data using bench execute
I used frappe.new_doc("Doctype Name") to insert new record in doctype

Then I received this problem message

Traceback (most recent call last):
File “/usr/lib/python2.7/”, line 174, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/”, line 72, in _run_code
exec code in run_globals
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 94, in
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 18, in main
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 722, in call
return self.main(*args, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 697, in main
rv = self.invoke(ctx)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/”, line 24, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/”, line 117, in execute
ret = frappe.get_attr(method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/”, line 98, in tst_sa
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 220, in insert
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 727, in _validate_links
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 323, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 309, in msgprint
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 282, in _raise_exception
raise raise_exception(encode(msg))
frappe.exceptions.LinkValidationError: Could not find Company: Factory Market, Price List: Standard Selling, Taxes and Charges: Germany Umsatzsteuer 7% & 19% - FM, Account for Change Amount: Verrechnungskonto Gewinnermittlung § 4/3 EStG- ergebniswirksam - FM, Debit To: Forderungen aus Lieferungen und Leistungen gegen Gesellschafter - FM, Row #1: Item: PP-000001670, Row #1: Stock UOM: Unit, Row #1: UOM: Unit, Row #1: Income Account: * Konto Kasse Ertrag - FM, Row #1: Expense Account: Bestandsveränderungen - fertige Erzeugnisse - FM, Row #1: Cost Center: Main - FM, Row #1: Warehouse: 001 Kaufpark Eiche - FM, Row #1: Account Head: Germany Umsatzsteuer 19% - FM, Row #1: Cost Center: Main - FM, Row #1: Mode of Payment: Cash, Row #1: Account: Deutsche Bank - FM

ERPNext: v10.1.31 (master)
Frappe Framework: v10.1.30 (master)

Any solution!

Looks like the data you’re trying to insert contains a Link field value that doesn’t have a record associated. As above, the Company record called ‘Factory market’. Link fields in a record cannot be assigned a value unless they have a corresponding record.

yes I get it
but all data is already exist!