Product Import - Line 2: Src cannot be blank

Shopify Partner
16 0 5

Hello - 


I'm trying to upload 210 SKU's as I'm migrating a client's store to Shopify.  I have followed the instructions exactly and started with the example upload .csv file.


I'm getting the following error at upload:

Line 2: Src cannot be blank.


I'm ASSUMING that is Image Src, which is not blank, there is a functioning URL there (when I copy/paste the URL into a browser, the image is displayed).


I have tried removing all data from the Image Src column to no avail.


Any help would be greatly appreciated.

Replies 9 (9)

24 0 6

It seems like you are missing the image url. A screenshot would be handy to determine the exact problem.
Are you using variants? In case of variants you need to fill in both the the "Image Src" and "Variant Image" columns.
The best solution is to create one of the items manually, extract it in a csv and compare it with the file you want to load to see what's missing.

1 0 0

Hi Benyoba,


I am having the same issue,  I understand what you are saying, however my list of headings doesn't have variant image as a column anywhere

3 0 0

I have the same problem and it is super frustrating. I've tried so many things to get it to work and nothing works. 

I reduced my product import file down to 1 product in order to keep the troubleshooting as simple as possible. I've changed the Image Src to several different image types, jpeg, png, jpg (I discovered Shopify doesn't support jpeg filetypes so that is a no no) and I always get the same error

Screen Shot 2021-02-05 at 9.46.27 AM.png












but as you can see in the 2nd image, my Image Src is not blank!

Screen Shot 2021-02-05 at 9.46.43 AM.png




The only success I had was when I deleted all 3 "Image" fields - Image Src, Image Position, and Image Alt Text.

Please help. 

I am migrating to Shopify from Weebly and have over 3000 products too move - way to many to do manually.

3 0 0

More troubleshooting notes:

Just to make sure the import function is working, I imported the product sample template - and it imported successfully.

Next, I copied and pasted the Image Src url from my own product import file into the Shopify product sample template - if there is a problem with the Image Src url in my product file, it should throw an error when importing the Shopify product sample template again. IT DIDN'T throw an error - meaning there is nothing wrong with the url in my file. In other words, it works when used in the Shopify product template import, but it doesn't work in my product import. Seems like something else is wrong.

2 0 0

In your screenshot you put Scr instead of Src

3 0 0

Thank you. You have eagle eyes!

Shopify Partner
3 0 2

For me the problem was that I had filled cells for the Image Alt Text column.
Then Shopify logically expects an Image Src as well.🤦‍♂️

1 0 1

This solved it for me:
Check all cells of your Image Position column. These are for assigning order of images for multiple product variants.

These should all be blank unless there is image url in adjoining Image Source cell.


Basically, if your Image Src cell is blank then Image Position cell must also be blank.

3 0 0



The error message "Src cannot be blank" indicates that there is data in columns 'Image Position' or 'Image Alt Text' without data in the same row under 'Image Src.' 


I ran into this exact problem and if there is no image link in the image column, then make sure there is no text in the following  'Image Position' or 'Image Alt Text' columns. After doing this I stopped receiving the error and then received the message of successfully uploading 9,956 Products/SKUs and 4,633 images. So it is possible to upload a CSV file where not all products have images. Screenshot 2024-05-15 at 8.18.06 AM.png