Home / Fix guides / Structured data and AI search

How to fix structured data warnings in Search Console

A warning means your markup is valid but leaves out an optional field, so your pages usually stay eligible for rich results. Fix the ones where you have true information to add, and safely ignore the rest.

Search Console shows a structured data warning when a page's markup works but leaves out a field Google calls optional or recommended, such as brand, priceValidUntil or aggregateRating. It is a hint, not a failure. Your page can usually still qualify for rich results, and nothing is broken.

What you are seeing

In Search Console, open the Enhancements section (product reports sometimes sit under Shopping). You will see reports such as Products, Merchant listings, Breadcrumbs or Articles, depending on the markup on your site. Each report sorts pages into groups, and a warning looks like this: Missing field 'brand' (optional).

Often the same warning is repeated across hundreds of pages, because one template produces them all. That looks alarming but is usually one small change in one place.

StatusWhat it meansEligible for rich results?
ErrorA required field is missing or wrongNo
Valid with warningsRequired fields are there, optional ones are missingUsually yes
ValidRequired and recommended fields are presentYes

Eligible does not mean guaranteed. Google decides case by case whether to show a rich result.

Why it matters

Warnings do not block anything, and fixing them is not a ranking trick. What optional fields can do is give search engines and AI tools a fuller picture of a product, business or article. A product with price, availability and shipping details is easier to understand and can make a richer listing, which may help people decide to click. Nobody can promise that it will.

This is not a security issue. It is a quality and completeness issue.

The important caution: do not chase a zero warning count by inventing data. Google expects markup to match what visitors can see on the page. Adding ratings, reviews or prices that are not really there can cause you to lose rich results or receive a manual action. A warning is far better than false markup.

How to check your site

All of these are free.

  1. In Search Console, go to Enhancements, open a report, and click the warning. You will see example URLs and the exact field name.
  2. Paste a page address into Google's Rich Results Test. It lists each detected item with its errors and warnings.
  3. Use the Schema Markup Validator (validator.schema.org) to check general schema.org markup, including types Google does not make rich results for.
  4. View the page source and search for application/ld+json. That is where most sites keep their structured data.

If you want the whole site checked at once, week 16 of SiteMonday is a structured data review that ends with a written report and a ranked fix list. See what week 16 covers. SiteMonday finds and explains the problems; making the changes is up to you or your developer.

How to fix it

For each warning, ask three questions:

  1. Do we have this information, and is it true?
  2. Is it visible on the page, or at least accurate for the page?
  3. Can we add it in one place so every page benefits?

If the answer to the first is no, leave the field out. Common optional fields and where they come from:

Markup typeTypical optional fieldsWhere the data usually lives
Productbrand, gtin, priceValidUntil, shippingDetails, hasMerchantReturnPolicyProduct page fields, store settings
ProductaggregateRating, reviewOnly if you show real customer reviews
Organizationlogo, sameAsSite or SEO settings
LocalBusinesstelephone, openingHours, priceRangeBusiness details settings
Articleauthor, dateModified, imagePost editor and author profile
EventendDate, performerEvent details

Where you make the change depends on your platform. Menu names vary by version and theme, so treat these as pointers.

  • WordPress: structured data usually comes from an SEO plugin (Yoast SEO, Rank Math and All in One SEO all output it) or from your theme. Look in the plugin's schema or search appearance settings for organization details, logo and social profiles. See the WordPress guide.
  • WooCommerce: product markup is generated from product data. Check the product edit screen for fields such as GTIN or brand. Which fields exist depends on your WooCommerce version and any extensions.
  • Shopify: your theme usually outputs product markup. Fields such as brand typically come from product data like the vendor, and anything else means editing the theme code (back up the theme first, or use a duplicate) or using an app. See the Shopify guide.
  • Wix and Squarespace: both generate basic markup automatically and give you limited control. Look in the SEO or advanced SEO settings, or use the code injection or custom code area to add your own JSON-LD.
  • Webflow: add custom code in page or site settings, filled from CMS fields so each page gets its own values.
  • Magento: markup comes from theme templates or extensions, so a developer usually makes this change.

If you see the same field flagged twice, or conflicting values, two sources may be outputting markup at once, for example a theme and a plugin. That needs a different fix: see duplicate schema from plugins.

How to confirm the fix worked

  1. Run the page through the Rich Results Test again. The warning for that field should be gone.
  2. Check another page that uses the same template, to be sure the change applies everywhere.
  3. In Search Console, open the report and click Validate Fix. Google then rechecks the affected pages.
  4. For your most important pages, use URL Inspection and request indexing.

Be patient. Search Console only updates as Google recrawls your pages, which can take days to a few weeks. The warning count will fall gradually, not overnight.

How to stop it coming back

  • Fix things in the template or plugin setting, not page by page.
  • Keep one source of structured data. Turn off the extra output from a theme or a second plugin.
  • Only add fields you can back up with real, visible information.
  • Retest a few key pages after a theme change, a plugin update or a platform upgrade, since these often change the markup.
  • Check the Enhancements reports now and then, so a new warning is caught while it is still one template and not hundreds of pages.

Step by step for your platform

Questions

Do structured data warnings hurt my Google rankings?

No, warnings on optional fields do not count as a penalty. They only mean some extra detail is missing, which may limit how rich your result can look.

Do I have to fix every warning?

No. Fix the ones where you have accurate information to add, and leave the rest. Never add made up data just to clear a warning.

What is the difference between an error and a warning?

An error means a required field is missing or invalid, and the page cannot get that rich result. A warning means required fields are fine and only optional ones are missing.

Why does Search Console still show warnings after I fixed them?

Google has to recrawl each page before the report updates. Click Validate Fix in the report and allow days to a few weeks.

Can I add aggregateRating to clear a warning?

Only if you display real customer reviews on that page. Ratings that visitors cannot see or that are invented go against Google's guidelines and can cost you rich results.

Where do I see which fields are missing?

In Search Console, click the warning in the Enhancements report to see the field name and example URLs. The Rich Results Test shows the same details for any single page.

Related problems