Google Merchant Center says my Shopify product has an invalid GTIN. How do I fix it?

Updated 2026-10-21. Checked against Shopify's own documentation; links are under Sources.

Google reads the GTIN from your variant's barcode in Shopify. The error means that number is the wrong length, has a wrong check digit, uses a prefix Google doesn't accept, or doesn't belong to the product. Fix the barcode on the variant in Shopify (never make one up), let the Google & YouTube channel resync, and allow Google 24 to 72 hours to reprocess it.

Which GTIN error do you have?

In Merchant Center, open Products › Needs attention and click the affected product. Each issue name has its own help page from Google:

Where the GTIN comes from in Shopify

Shopify's Google & YouTube channel sends the variant's barcode field as the GTIN. Shopify's help says to "add the barcode in the Inventory section" of the variant. Since September 2026 a variant can hold up to 20 barcodes, each with a type (UPC, EAN, ISBN, GTIN, ASIN or Custom). According to Shopify's changelog, "Channels continue to read the first barcode provided", so the GTIN Google gets is whichever barcode is listed first.

The usual causes

  1. A typo. One wrong digit breaks the check digit. Compare the number with the barcode printed on the packaging or the supplier's sheet.
  2. A lost leading zero. UPC-A codes are 12 digits, and many begin with 0. When a spreadsheet opens a product CSV it treats the column as numbers and drops that zero, leaving 11 digits. How to repair this.
  3. Scientific notation. A value like 3.6E+11 means the spreadsheet rounded the number before it was imported back into Shopify. The real digits are gone and you'll need to type them in again.
  4. An internal code in the barcode field. SKU-style codes, or numbers that a label app generated from variant IDs, aren't GTINs. Shopify's own Retail Barcode Labels app warns that its generated barcodes aren't suitable for Google Shopping.
  5. A restricted or coupon prefix. Numbers you print yourself for in-store use often start with 2. They work at your till, but Google won't accept them.
  6. A made-up or borrowed number. The check digit might pass, but the GTIN belongs to someone else's product, so Google reports Incorrect GTIN.

How to fix it

  1. Paste the failing barcodes into the GTIN validator. It shows which ones fail the check digit, which look like a UPC that lost its leading zero, which are in scientific notation, and which use a restricted or coupon prefix.
  2. In Shopify, go to Products, open the product and click the variant. Correct the barcode. If the variant has more than one barcode, put the real GTIN first.
  3. For several products at once, export the products CSV and fix the Variant Barcodes column (older files call it Variant Barcode or Barcode). Keep the column as text so the zeros stay, then import it with the option to overwrite existing products turned on.
  4. If a product really has no GTIN (it's handmade, custom or one-of-a-kind), remove the bad barcode and don't send one. Then tell Google the product has no identifiers. See how.
  5. Wait for the channel to resync, then check Needs attention in Merchant Center again. Google's fix pages say to allow 24 to 72 hours.

What not to do

Checking the whole catalog

Merchant Center only reports the products it has processed. To find bad barcodes before Google does, export your products and run the file through the product CSV checker. It flags barcodes that fail the check digit, duplicate barcodes and shippable variants with no barcode. A correct check digit only shows the number is well formed. It can't prove the GTIN was assigned to your product, so for anything Google still marks as Incorrect, confirm the number with the brand owner or supplier.

Sources