'Error in record x: Stock Code: Illegal Stock Account Reference' when importing
Description

How to resolve this import error to allow you to import your data.

Cause
Resolution

 This message can appear for the following reasons:

Reason Solution
The product code on the import file contains space. Remove any spaces in the product code.
A product has a blank product code. Ensure each product you're importing has a valid product code.
Product code has more than 30 characters Shorten the product code.
Steps to duplicate
Related Solutions