Articles in this section

Shopify Error Code: invalid_key_or_ref, Error Message:'Invalid item reference key 1009 for subsidiary 1.'

Data Flow: Shopify Order to NetSuite Order Add

Error Code: invalid_key_or_ref

Error Message: 'Invalid item reference key 1009 for subsidiary 1.'

Reason: 

Subsidiary of the Item does not match the subsidiary of the Customer.

Resolution:

Ensure that both the Item and Customer belong to the same Subsidiary

  1. In NetSuite, Navigate to Lists->Accounting->Items-. Find the Item with internal id "1009".
  2. Edit the Item Record, set the Subsidiary with internal id "1" and Save the Item Record.

Note: In order to find the Subsidiary with internal id "1", navigate to NetSuite -> Setup-> Company->Subsidiaries.