Integration error with WooCommerce DoesNotExistError: Company {u’name’: u’erp’} not found


Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/connectors/woocommerce_connection.py”, line 27, in order
_order(*args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/connectors/woocommerce_connection.py”, line 93, in _order
found_company = frappe.get_doc(“Company”,{“name”:company})
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 734, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py”, line 69, in get_doc
return controller(*args, **kwargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py”, line 100, in init
frappe.DoesNotExistError)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 360, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 346, in msgprint
_raise_exception()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 315, in _raise_exception
raise raise_exception(msg)
DoesNotExistError: Company {u’name’: u’erp’} not found

This is the error while integration with ERPNext with WooCommerce.

Can anyone reply.

Hi mukul_saluja, I’m experiencing the same issue. Any lead ?