All things Shopify and commerce
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.
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.
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
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
but as you can see in the 2nd image, my Image Src is not blank!
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.
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.
In your screenshot you put Scr instead of Src
Thank you. You have eagle eyes!
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.🤦♂️
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.
Hello,
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.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025