Which cause is yours?
| What you observe | Likely cause |
|---|---|
| “Validation failed: getaddrinfo: nodename nor servname provided, or not known” | 1. A mistake in the image link |
| The images are only on your computer | 1. Not a public link |
| “Validation failed: An error occurred while trying to download the image” or “Incorrect header check” | 2. The image cannot be downloaded |
| Only the first image of a product arrived, or images are on the wrong product | 3. One row per image |
| “Media could not be processed because it exceeded the maximum resolution of 25 MP.” | 4. The image is too large |
| The supplier's Excel file shows photos, but the CSV saved from it has none | 5. Pictures embedded in the workbook |
1. The image link must be public and direct
Shopify reads images from the Product image URL column (Image Src in Shopify's export), downloads them during the import and uploads them to your store (Shopify Help). For the download to work:
- The link is a full address that starts with
https://and needs no password (Shopify Help). - It is a publicly accessible, direct link to the image. “Validation failed: getaddrinfo: nodename nor servname provided, or not known” means a mistake in the link, for example a link without
https://at its start (Shopify Help). - Images that are only on your computer must be uploaded first: to Content → Files in your Shopify admin or to another image host. Then use their links (Shopify Help). An image linked from Content → Files is copied once more into the product: see Links into Files.
| Record | URL handle | Title | Product image URL |
|---|---|---|---|
| 1 | ceramic-mug | Ceramic mug | C:\Photos\mug-1.jpg |
Record numbers exclude the header.
To test a link, open it in a private browser window: you should see the image alone, without a page around it or a sign-in.
2. The image cannot be downloaded
- “Validation failed: An error occurred while trying to download the image”: an image file is missing (Shopify Help). Open the link and replace it if the image is gone.
- “Incorrect header check”: remove the image from that line and import again. If that helps, host the image somewhere else (Shopify Help).
- Removed images: if you remove products or images from your store after exporting and then import those products without updating their image links, the import fails (Shopify Help).
- Moving to a new store: a product export holds links, not image files. The new store gets the images only while they are still viewable online, so keep the old store and its products until the import is finished (Shopify Help).
3. One row per image, and variant images
The first row of a product carries its first image. Each further image goes into a new row with the same URL handle and the image link in Product image URL (Shopify Help). Image position sets the order, starting from 1.
| Record | URL handle | Title | Product image URL | Image position | Image alt text |
|---|---|---|---|---|---|
| 1 | ceramic-mug | Ceramic mug | https://cdn.example.com/mug-1.jpg | 1 | Mug front |
| 2 | ceramic-mug | (empty) | https://cdn.example.com/mug-2.jpg | 2 | Mug side |
Record numbers exclude the header. (empty) marks an empty cell.
- A product can have up to 250 images. Image alt text can be up to 512 characters; Shopify Help calls 125 or fewer the optimal length.
- Variant images go into
Variant image URL. Each variant can have one image, and it must be one of the product's images (Shopify Help): list the same link in a product image row too. - Sorting the file in a spreadsheet program can separate image links from their product, and the images are lost (Shopify Help). Keep the rows of a product together.
4. Size, file names and media types
- Size: an image can be up to 5000 × 5000 px, or 25 megapixels. A larger one gives “Media could not be processed because it exceeded the maximum resolution of 25 MP.” Reduce the image or use another one (Shopify Help).
- File name: use the final name: it can't be changed after the upload. Do not use names with a
_thumb,_smallor_mediumsuffix, such asmug_small.jpg(Shopify Help). - Only images: a CSV can add images by link only. 3D models and videos are not supported in a CSV; upload them in Content → Files.
- Links into Files: an image linked from the Files area of your admin is downloaded again and duplicated into the products folder. To avoid the copy, host the images elsewhere or add them to products after the import (Shopify Help).
5. Pictures embedded in an Excel file
A CSV can only contain text (Shopify Help), so pictures placed in an Excel workbook are not in a CSV saved from it. Upload the pictures to Content → Files or another image host, then write their links into Product image URL.
CatalogDock does not extract Excel pictures for Shopify. When it prepares a Shopify file from a supplier price list, it writes only the public image links of the price list and does not check that they open.
What the free Shopify check reports
CatalogDock's Shopify Check reads your file in your browser and lists these problems with their record and column. It never changes the file.
Reported for you to decide
- Image values that are not complete
http(s)links, such as a path on your computer, andhttplinks instead ofhttps. - File names ending in
_thumb,_smallor_medium, image positions that are not whole numbers, alt text over 512 characters and products with more than 250 images. - A variant image that is not among the images of its product.
Needs data from your store
Whether each link can be downloaded and how large the image is: CatalogDock does not open the links. Test a small import and look at the products in your admin.
Still failing? Related guides
Import a file with only the product that fails, so you know which rows cause the error. If the guides do not explain it, send Shopify Support the exact text of the error: Shopify Help points there for problems it does not list.
- Shopify import troubleshootingFind the cause of a failed Shopify CSV import and how to fix it.
- Variants are missing or splitURL handles, option columns, repeated combinations and row order.
- Shopify rejects the fileEncoding, quotes, headers, required columns and the 15 MB limit.
- Duplicates or overwritten dataURL handles, the Overwrite option, blank cells and deleted variants.
Check your Shopify CSV before importing
CatalogDock reads the image columns of your Shopify CSV in your browser and lists the links, names, positions and alt texts Shopify cannot use, with their record, free. It does not open the links or upload any image.
Runs in your browser · No files uploaded · Never connects to your store
Sources
Shopify Help, read on :
Applies to Shopify's own CSV import: Products → Import for products and Products → Inventory → Import for stock. Shopify can change its import at any time; the sources above are dated. CatalogDock's Shopify support is in beta.