Validation failed: Addresses country is not a valid country

Shopify import list will not import using country United states? it failed all lines? is this a bug? How do i get my customers imported?

Hi @LisaA2

Could you share an example of what your Country/Country Code fields are filled in as? For example, an existing customer that I exported to create a template with looks like this for those fields:

It is very important that all fields for country and country code are formatted the same way. You can learn more about state and province codes here: Solving customer CSV file errors · Shopify Help Center.

Sure, i have used “United States” and “United States of America”. i’m not sure what else to try. they both failed on import for this specific line “country”.

Country Country Code
UNITED STATES OF AMERICA USA

Thank you for the screenshot! Try just “United States” for country and “US” for country code. You can test with a single customer line in a CSV file to see if it works, and if it does you can use your Find & Replace tool in your spreadsheet editor to replace all fields with the updated text.

that worked! thank you! i wish it would have failed the “country code” and not “country” as i had United States. thanks again :slightly_smiling_face:

Hi Shay, I am having the same issue, but have changed the code to several. Still having the same issue.
I haven’t come across this in the 4 years we have been using Shopify.

Any suggestions?