Validation failed: The variant 'Default Title' already exists

Muhammad_Saleem
New Member
2 0 2

I am trying to import products with variants with csv file. I am getting this error. I checked with the help desk via chat. She couldn't figure out. Does someone know how to resolve this issue. Thanks.

Tom_Brown3
Excursionist
19 0 7

Hey Muhammad, 

We had similar issues & managed to resolve it eventually. For us it was missing out a column - the 'handle' column actually led to this error. Quite odd!

If you wish to post a screenshot of the file or upload a link to the file I'll gladly take a quick look for you.

Tom

 

Muhammad_Saleem
New Member
2 0 2

I have resolved the issue. The problem was the option1 name and option1 value had spelling errors. So, I guess it was taking as Title and Default Title for the values. I corrected the spelling and the error was gone. Thank you all for taking interest.

Patrick_Basten
New Member
1 0 1

Watch out the documentation here https://help.shopify.com/manual/products/import-export#product-csv-file-format says that ther is a space before the 1 in "Option 1 Name" and "Option 1 Value" but there is not! It should be "Option1 Name" and "Option1 Value"

In addition I have found that the format of the upload file format is important and doesn't follow conventional rules. In theory any field should be able to have a quote around them but I have found that the only quoted field in the CSV import file should be the Body (HTML) field. I removed quotes around on all other fields.

Now my uploads work! Hope this helps you.

Cheers!

Atiq
New Member
5 0 0

API not allow 0 value for size please any can help me why?

{  
   "product":{  
      "shopify_product_id":"",
      "title":"Liverpool Jeans Company",
      "body_html":"",
      "vendor":"Liverpool Jeans Company",
      "product_type":"",
      "images":"",
            "variants":[  
         {  
            "inventory_quantity":0,
            "sku":"4HGGR69",
            "price":79,
            "option1":"Blue",
            "option2":"0"
         }
      ],
      "options":[  
         {  
            "name":"Color",
            "position":1
         },
         {  
            "name":"Size",
            "position":2
         }
      ]
   }
}

0 Likes
VEROMARTY
Tourist
3 0 0

Gracias por su concepto al respecto, es increíble como es de sensible estos archivos y por una simpleza pierda uno mucho tiempo tratando de corregir el problema, es como buscar una aguja en un pajar.

Buen día¡¡¡   

0 Likes