How to fix FAQPage schema errors
FAQPage errors almost always come from a missing question, a missing answer, broken code, or the same FAQ being marked up twice. Find the exact error with a free testing tool, correct that one item, and test the page again.
FAQPage schema is a block of hidden code that tells search engines and AI tools which questions and answers appear on a page. When it is wrong, testing tools show red errors or yellow warnings such as "Missing field 'name'" or "Duplicate field 'FAQPage'". Your visitors see nothing different, which is why these errors can sit unnoticed for months.
What the problem looks like
You usually find out in one of three ways: a message in Google Search Console, a failed test in a testing tool, or a note from an SEO plugin or an audit. Typical messages include:
- Missing field
name(a question has no text) - Missing field
acceptedAnswerortext(a question has no answer) - Missing field
mainEntity(the FAQ has no questions at all) - Duplicate FAQPage on the same page
- Markup does not match the visible page content
- The code cannot be read at all because of a typo
An error means the code is broken or incomplete. A warning means it is readable but could be better. Fix errors first.
Why it matters
Since August 2023, Google only shows FAQ rich results (the expandable questions under a search listing) for a small set of well-known government and health sites. So for most small business sites, fixing FAQ schema will not bring back those dropdowns. That is worth knowing before you spend hours on it.
It can still be worth a clean fix. FAQPage is a valid schema.org type, other search engines and AI tools can read it, and broken markup can be a sign of wider problems in your structured data. Markup that describes questions not shown on the page also goes against Google's guidelines. If your FAQ schema is a lot of work to repair and the page has no real FAQ, removing it is a perfectly good fix.
How to check your site for free
- Open Google's Rich Results Test (search.google.com/test/rich-results), paste your page address and run it. The FAQ item is detected only if Google can read the markup, and the details list each error.
- Open the Schema Markup Validator (validator.schema.org) and test the same page. It checks against schema.org itself, so it still shows problems even where Google no longer shows FAQ results.
- In Google Search Console, open the Enhancements reports (if your site has them) and look for structured data messages.
- Right click the page, choose View page source, and search for
FAQPage. If it appears more than once, you probably have duplicate markup.
How to fix it
First, check that the questions and answers are actually visible on the page. Every question in the code should appear in the page text for visitors, with the same wording or close to it.
Then match your code to this structure. Each question needs a name, and each question needs an acceptedAnswer with a text:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Do you offer free delivery?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, on orders over the amount shown on our delivery page."
}
}
]
}
</script>
The most common repairs are:
- Missing field: add the missing
name,acceptedAnswerortext. Empty accordion items in a page builder often create empty questions, so delete them or fill them in. See missing required schema field for more detail. - Duplicate FAQPage: keep one FAQPage block per page. This often happens when a theme and a plugin both output FAQ markup. Turn one of them off. See duplicate schema markup from plugins.
- Unreadable code: look for a missing comma, a straight quote replaced by a curly quote, or a stray bracket. Pasting the code into the Schema Markup Validator usually points to the line. See unparsable structured data.
- Answers with unsupported HTML: keep answer text simple. Basic tags such as
<p>,<a>,<ul>,<li>,<strong>and<br>are accepted, but scripts and complicated layouts are not. - Wrong type: if visitors can submit their own answers, such as a forum, the page is not a FAQ page and a different type (QAPage) fits better.
Fixing it on common platforms
Where the setting lives depends on your theme and version, but these are the usual places.
- WordPress: FAQ schema normally comes from an SEO plugin, a FAQ block, or a dedicated schema plugin. Open the page editor and look for the FAQ block or a Schema tab in your SEO plugin's panel. Make sure only one tool is producing it. There is a step by step page at FAQ schema errors on WordPress.
- Shopify: the theme or an installed app usually adds it. Check the theme's FAQ or accordion section settings and the apps list, and look in the theme code for a
FAQPagescript if you have a developer. - Wix, Squarespace and Webflow: these either add schema through a built in SEO or structured data panel, or let you paste your own JSON-LD in page custom code. If you pasted code, compare it with the example above.
- Elementor: the FAQ or Toggle widgets have an option to output FAQ schema in some versions. Check the widget's content settings, and avoid turning it on if your SEO plugin also does so.
- Next.js and custom sites: the JSON-LD is in your page or layout code. Generate it from the same data that renders the visible questions, so the two cannot drift apart.
How to confirm the fix worked
Save or publish the page, clear any caching plugin or site cache, then run the page through the Rich Results Test and the Schema Markup Validator again. You want zero errors and a single FAQPage item. If you use Search Console and it lists a structured data issue, use its validate fix button after you have corrected the pages. Google can take days or weeks to recheck.
How to stop it coming back
- Choose one source of schema for the whole site (one plugin, one theme feature, or hand written code) and switch the others off.
- Retest FAQ pages after any theme, plugin or page builder update, and after you edit questions.
- Remove empty accordion items instead of leaving them hidden.
- Only add FAQ markup to pages that really show questions and answers to visitors.
If you would rather not remember to check, SiteMonday's week 16 service reviews your structured data and lists problems like these in a ranked fix list. Fixing them stays with you or your developer.
Step by step for your platform
- FAQ schema errors on WordPress
- FAQ schema errors on Shopify
- FAQ schema errors on Wix
- FAQ schema errors on Squarespace
- FAQ schema errors on Webflow
- FAQ schema errors on Elementor
- FAQ schema errors on Next.js
Questions
Will fixing FAQPage schema bring back FAQ dropdowns in Google?
Probably not. Since August 2023 Google shows FAQ rich results only for a limited set of well-known government and health sites. Clean markup is still valid and other tools may read it.
Should I just delete my FAQ schema?
If the page has no visible FAQ, or the markup keeps breaking, removing it is a fair choice. If the FAQ is real and visible, a correct block does no harm.
Do the questions in the code have to appear on the page?
Yes. Markup should describe content visitors can actually see. Questions that exist only in the code can go against Google's guidelines.
Why does my page show two FAQPage items?
Usually a theme and a plugin, or two plugins, are both adding it. Turn one off so each page has a single FAQPage block.
What is the difference between an error and a warning?
An error means required information is missing or the code cannot be read. A warning means it works but a recommended detail is absent. Fix errors first.
How long until Search Console shows the fix?
It depends on how often Google recrawls your page, and it can take from a few days to a few weeks. Retesting the page in the Rich Results Test shows the result immediately.