Hi,
Check your data, in the column : costing code (profitcode/ocrcode) that you mentioned value already exists or not. Just remove the value and upload it.
If you required then you have to create first - Finance - Cost Accounting - Cost centers.
Thanks & Regards,
Silambu