Feed Doctor· pre-flight for Google Merchant Center
Guides › 'Invalid GTIN' Error in Google Merchant Center: How to Fix It on Shopify

'Invalid GTIN' Error in Google Merchant Center: How to Fix It on Shopify

Short answer: "Invalid value [GTIN]" means Google received a barcode from Shopify but it failed validation — almost always because the check digit is wrong, the length isn't a valid GTIN length (8, 12, 13, or 14 digits), or the value isn't a real barcode at all (a SKU, an ISBN typed wrong, or a made-up number). Fix it by putting the correct, complete barcode in each variant's Barcode field in Shopify, or — if the product genuinely has no barcode — clearing the field and marking it a custom product so Google stops expecting one.

This error is different from "missing GTIN." Here Google did get a value; it just doesn't pass the math. Here's how to find the bad ones and fix them.

What makes a GTIN "invalid"

A GTIN (the manufacturer's barcode — UPC, EAN, or ISBN) has to satisfy a few hard rules, and Google checks all of them:

Why it usually happens on Shopify

The fix, step by step

1. Find which products are actually failing

In Merchant Center: Products → Needs attention (or Diagnostics), filter to the "Invalid value [GTIN]" issue, and note the affected items. That tells you which Shopify variants to correct instead of editing the whole catalog.

2. Enter the correct, complete barcode

For each affected variant: Product → Variants → edit the variant → Barcode. Type the full barcode exactly as printed on the package, including any leading zero. A 12-digit UPC stays 12 digits; a 13-digit EAN stays 13.

3. For products with no real barcode, don't fake one

Handmade, custom, private-label, and vintage items often have no manufacturer GTIN — and that's allowed. Clear the Barcode field and, in the Google & YouTube channel's Manage availability, set Custom product = True for those items. That tells Google not to expect a GTIN, and both the "missing" and "invalid" errors clear without a barcode. Supply a brand + MPN instead where you have them.

4. Re-sync and confirm

The Shopify feed re-pushes within a few hours (identifier changes can take up to ~3 days to fully reflect in Merchant Center). Confirm under Products → All products that the GTIN column shows the corrected value and the issue has cleared.

Validate every barcode before Google does. Feed Doctor runs the real GS1 check-digit math on each variant's barcode and flags exactly which ones are the wrong length, fail the checksum, or sit in a restricted range — so you fix the handful that are actually broken instead of guessing. Try it free for 7 days.

GTIN vs UPC vs EAN vs MPN

Stop losing sales to Google rejections

Feed Doctor scans your whole catalog and gives you the exact field to fix on every product.

Try Feed Doctor free for 7 days →

Frequently asked questions

What's the difference between "missing GTIN" and "invalid GTIN"?
Missing means Google received no barcode at all (often the Custom product flag is set to True). Invalid means Google received a value but it failed validation — wrong length, wrong check digit, or not a real barcode. Invalid is a data-quality problem in the Barcode field itself.
How do I know if my check digit is correct?
The last digit of a GTIN is computed from the others by the GS1 algorithm. If you typed the barcode exactly as printed on the real package, the check digit is already correct. If you edited or transcribed it by hand, one wrong digit breaks it — re-enter it from the physical barcode or the manufacturer's data.
My barcode is 11 digits — is that the problem?
Almost certainly. Valid GTIN lengths are 8, 12, 13, and 14. An 11-digit value is usually a 12-digit UPC that lost its leading zero in a spreadsheet. Add the zero back.
Can I just remove the barcode to stop the error?
Only if the product genuinely has no manufacturer GTIN. In that case clear the field and mark it a custom product (Google & YouTube channel → Manage availability → Custom product = True). For a product that does have a barcode, removing it trades the invalid error for a missing one.
Will an invalid GTIN get my account suspended?
A single invalid value is a product-level disapproval, not an account action. But repeatedly submitting fake or clearly wrong identifiers can escalate to a misrepresentation warning, so fix them with real barcodes rather than inventing numbers.