Shopify product CSV error
How to fix Can only specify a maximum of 2048 product variants
A Shopify product can have up to 2,048 variants and 3 options. This message means at least one product in your file has more variant rows than that. Shopify checks it when you upload the file, so nothing in the file is imported, and the message doesn’t say which product or line is too big. Variants multiply: 3 options with 20, 20 and 6 values make 2,400.
What you’ll need
Your products export CSV (or any product CSV you plan to import)
How to get this: Your products export CSV
- Products › Export › All products › Export products.
- Small exports download; big ones arrive by email.
Shopify’s product importer, to load the result
How to get this: Shopify’s product importer, to load the result
It’s in Products › Import. Export a backup first: an import can’t be cancelled once it starts.
Check your whole file at once
CSV Doctor lists every problem with its row number and fixes the safe ones for you.
Runs in your browser. Your file is never uploaded.
What causes it
- The option values multiply past 2,048 (for example 20 colors × 20 sizes × 6 materials).
- Two different products share one URL handle, so their variant rows add up to one product.
- A file built for another platform lists every combination, including ones you don’t sell.
- An app or custom integration still uses Shopify’s REST Admin API, which keeps the old 100-variant limit. Shopify says such apps must move to the GraphQL Admin API to go past 100.
How to fix it
- Find the product: Shopify’s message names no line, so count the rows per URL handle (CSV Doctor does this for you).
- Remove combinations you don’t sell, or drop an option that doesn’t change price or stock and mention it in the description.
- Split the rest into several products, for example one per material, each with its own handle. On Shopify Plus, the Combined Listings app can show them as one listing.
- For choices that don’t need their own price or stock (engraving, gift note), use line item properties instead of a variant.
- Import again.
Example
tee,Color,Red,Size,XS,Material,Cotton
… 2,400 rows for one handletee-cotton,Color,Red,Size,XS
… 400 rows
tee-linen,Color,Red,Size,XS
… 400 rowsOne product per material keeps each one under the limit.
Related errors
- Validation failed: options are not unique
- Ignored line #-## because handle `example` already exists
- All import errors
Sources: Shopify Help Center, Troubleshooting product CSV imports and Using CSV files to import and export products.