Skip to content

NewSchedule your Black Friday sale: prices drop at the start and go back by themselves. See how

Bulkvane

Shopify CSV import error

“Validation failed: Src can't be blank”: what it means and how to fix it

A row describes an image, with alt text or a position, but has no image link in Image Src, so Shopify has nothing to attach that description to.

Why it happens

  • Image Alt Text is filled in on a row whose Image Src is empty, often after deleting image links but not their alt text.
  • Image Position is set on a row with no Image Src.
  • Sorting or filtering the sheet split an image's link and its alt text onto different rows.
  • The link is in the wrong column, such as Variant Image instead of Image Src.

How to fix it

  1. Filter the Image Src column for empty cells and look at Image Alt Text and Image Position on those rows.
  2. Either paste the image's https:// link into Image Src, or clear Image Alt Text and Image Position on that row.
  3. Keep each image's link, position and alt text on the same row of the same product.
  4. Save as CSV UTF-8 and import again. Products that already imported are skipped if “Overwrite products with matching handles” is off.

How Bulkvane handles it

Bulkvane's product import doesn't read Image Alt Text or Image Position: the preview lists them as columns it will ignore, so a row with alt text and no link still imports its other fields. An empty Image Src adds no image, and a value that isn't a web address is skipped with a warning naming the row.

Every file is checked before anything changes, with problems named by row in plain words, and any import can be undone for 30 days. All of Bulkvane's messages are in Errors A–Z.

Questions

What does “Src can't be blank” mean in Shopify?

Src is the image link in the Image Src column. Shopify shows the error when a row has image details, such as alt text, but no link to the image.

Is “Src cannot be blank” the same error?

Yes. Shopify's message reads “Validation failed: Src can't be blank”, and many people search for it as “cannot be blank”. Both point to a row with image details but no link in Image Src.

Do I need an image for every product row?

No. Leave Image Src, Image Alt Text and Image Position all empty on rows without an image. The error only appears when some image columns are filled and Image Src isn't.

Can I import alt text for images that are already in Shopify?

Not with Shopify's product CSV unless the row also has the image's link. Export the products first: the export includes each image's link next to its alt text.

Shopify's list of import errors doesn't include this message. Column meanings from the Shopify Help Center: using CSV files to import and export products, checked . Still stuck? See Shopify CSV import not working? or ask us.

Preview every change.Undo any import for 30 days.

Install free