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:
- Invalid GTIN in unsupported format: the value isn't a well-formed GTIN. Google accepts GTINs of 8, 12, 13 or 14 digits (UPC, EAN, JAN or ISBN), and "the check digit is present and correct".
- Incorrect GTIN: the number is well formed, but Google doesn't think it belongs to this product. Google's advice is "Do not make up or create new GTINs."
- Restricted GTIN: the number starts with
2,02or04. Those ranges are for in-store and variable-measure use, not for products sold online. - Unsupported GTIN: the number is in a coupon range (prefixes
05,98,99, including981to984). Google's fix is to enter a valid GTIN "or leave it blank".
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
- A typo. One wrong digit breaks the check digit. Compare the number with the barcode printed on the packaging or the supplier's sheet.
- 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.
- Scientific notation. A value like
3.6E+11means 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. - 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.
- 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.
- 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
- 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.
- 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.
- For several products at once, export the products CSV and fix the
Variant Barcodescolumn (older files call itVariant BarcodeorBarcode). Keep the column as text so the zeros stay, then import it with the option to overwrite existing products turned on. - 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.
- 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
- Don't change the last digit just to make the check digit pass. Usually a different digit is wrong, and a "fixed" number that belongs to another product leads to an Incorrect GTIN error.
- Don't generate GTINs, or reuse one product's GTIN on another. Google's GTIN help is explicit: "Don't guess or make up a value. If you're unsure of a GTIN, don't submit one."
- Don't set "no identifiers" (
identifier_exists= no) for a branded product that does have a GTIN. Google says to use it only "if you're certain that your product doesn't have any assigned unique product identifiers".
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
- Google Merchant Center Help: GTIN
- Google: How to fix Invalid GTIN in unsupported format
- Google: How to fix Incorrect GTIN
- Google: How to fix Restricted GTIN
- Google: How to fix Unsupported GTIN
- Google: identifier_exists
- Shopify Help Center: Google & YouTube requirements
- Shopify Help Center: Syncing products to Google
- Shopify Changelog: Multiple barcodes in variants
- GS1: How to calculate a check digit