Item Attributes Importing from Excel Sheet

Hi, ERP Next team. I am writing after so many failed attempts, one of our client has a huge amount of excel sheets dump of products, attributes( Size, colors) etc.

I made a script that was able to import products, brands, attributes, item templates, groups. I am loading it into warehouses.

problem!

once I have created item attributes from csv, then I am not able to import other item attributes (which are different) Like color can have different values, but they are not being imported it says duplicate error even when the attribute abbreviations and values are different for that color