I found the cause of this error. Our company cost code has a 'dash' in it and this was being interpreted as (2) segments. Resolved this by changing the value used in the Data Definition 'Cost Code Separator', from a '-' to '\'.
Even i faced this issue
I was importing code with item name in Cost Code column , This error occured .
I resolved by separating the codes with hierarchy , then imported successfully.