Shopify product CSV error

How to fix Validation failed: getaddrinfo: nodename nor servname provided, or not known

This message comes from an image URL Shopify can’t reach. Shopify says the image URL needs http:// (or https://) in front of it, and must be a publicly accessible, direct link to the image.

Check your whole file at once

CSV Doctor lists every problem with its row number and fixes the safe ones for you.

Runs in your browser. Your file is never uploaded.

Check my CSV file

What causes it

  • The URL is missing https:// at the start (cdn.example.com/shirt.jpg).
  • The "URL" is a file on your computer (C:\Users\…\shirt.jpg).
  • A typo in the domain, or spaces in the address.
  • A share link (Dropbox, Google Drive) that opens a web page instead of the image itself.

How to fix it

  1. Make every Product image URL and Variant image URL start with https://.
  2. Upload images that are only on your computer first, for example in Content > Files in your Shopify admin, then copy their links.
  3. Paste the link in a private browser window. It should show only the image, with no sign-in.
  4. Import again.

Example

Causes the error
cdn.example.com/images/shirt front.jpg
Imports correctly
https://cdn.example.com/images/shirt%20front.jpg

Sources: Shopify Help Center, Troubleshooting product CSV imports and Using CSV files to import and export products. Not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc.