StriveFormats
ShopifyImages

Invalid image URL

Product image URL is not a valid http(s) URL.

What is this issue?

Product image URL is not a valid http(s) URL.

Errors Shopify shows for this

  • Validation failed: An error occurred while trying to download the image
  • Validation failed: getaddrinfo: nodename nor servname provided, or not known
  • Validation failed: Invalid URL provided
Affected field:Image Src

What it looks like in your file

In your file
TitleProduct image URL
2Linen Shirtshirt.jpg
3Ceramic MugC:\Photos\mug.png
After the fix
TitleProduct image URL
2Linen Shirthttps://cdn.shopify.com/s/files/shirt.jpg
3Ceramic Mughttps://cdn.shopify.com/s/files/mug.png

Upload your CSV to check for this issue and export a clean file.

Fix now

Why Shopify rejects this

Shopify must be able to fetch images via a valid URL.

Common causes

  1. 1The image column holds a file name such as shirt.jpg from a folder on your computer; Shopify can only download from the web.
  2. 2The address was copied without https://, as in cdn.example.com/shirt.jpg.
  3. 3The address has spaces from the original file name, as in my shirt.jpg.

Valid values / expected format

  1. ✓Full URL starting with https:// or http://
  2. ✓Must be publicly accessible (no login required)
  3. ✓No spaces in the URL
  4. ✓Supported formats: JPG, PNG, WebP, GIF
  5. ✓Recommended: under 20 MB per image

Fix in StriveFormats

Upload your CSV to StriveFormats to detect this issue across all rows, with clear line-by-line reporting.

Fix in Excel

  1. 1In Excel, click the column letter for the Image Src column.
  2. 2Press Ctrl+H, find http:// and replace it with https://, then click Replace All. This upgrades insecure URLs.
  3. 3Scan the column for cells that start with // or just a filename like 'shirt.jpg'. Add https:// in front of each.
  4. 4Find ' ' (a single space), replace it with a hyphen, then click Replace All. This removes spaces from URLs.
  5. 5Click a sample URL and press F5, or paste it into a browser, to confirm the image or page loads correctly.
  6. 6Save as CSV UTF-8 (Comma delimited).

Fix in Google Sheets

  1. 1In Google Sheets, select the Image Src column.
  2. 2Press Ctrl+H, find http:// and replace it with https://, then click Replace All.
  3. 3Scan the column for cells starting with // or just a filename. Add https:// in front manually.
  4. 4Find ' ' (a single space) and replace it with a hyphen, then click Replace All to clean up spaces in URLs.
  5. 5Paste a sample URL into a new browser tab to confirm it loads correctly.
  6. 6Go to File > Download > Comma Separated Values (.csv).

Prevent it next time

  1. ✓Always use the full URL starting with https://. Never use relative paths or local file paths.
  2. ✓Before importing, paste a sample image URL into a browser to confirm it loads correctly.
  3. ✓Host all images on a reliable CDN or cloud storage before adding URLs to your CSV.
  4. ✓Avoid URL query parameters unless the platform explicitly supports them.
  5. ✓Keep image files under 20 MB and use standard formats: JPG, PNG, or WebP.

How StriveFormats detects this

StriveFormats checks the Image Src column by verifying that each non-empty value begins with http:// or https:// and does not contain spaces. Values that look like relative paths or local filenames are also flagged.

►Technical detail
Shopify's importer downloads each image from its URL during the import. The URL must be a full address starting with http:// or https:// so the importer can find the image. A relative path like "images/shirt.jpg" points nowhere, because the platform can't see files on your computer. Spaces in URLs must be written as %20 or replaced with hyphens, since most image hosts reject URLs with spaces in them.