On one of my Question and answer pages, I received a Missing field ‘name’ (in ‘mainEntity.suggestedAnswer.author’) error
in the Google search console
under the Enhancement section
and QA subsection
. This is a non-critical issue. Items with these issues are valid but could be presented with more features or optimized for relevant queries. Q&A (QA page) structured data: Q&A pages are web pages that contain data in a question-and-answer format, where we have one question followed by its answers and replies/comments. So for this type of content where we show one question and its answers, we can mark up the data with the schema.org QA page, Question, and Answer types. I am facing this issue with Yoast SEO, and schema markup generation. I have a Q&A website and I am getting this error Missing field ‘name’ (in ‘mainEntity.suggestedanswer.author’)
for one of my page links. JFYI I have disabled login and sign up for now on my site. So on the question, anyone can answer anonymously or without a name. The generated schema caused an issue.
The user did not mention his or her name and answered the question. This can happen later means if someone added an answer(comment) on the website and did not mention the name, at least a dummy name gets added to schema markup by Yoast.
Tried checking the schema here, When a product/something has a Missing field ‘name ‘ error, there’s no “author” for the review, hence the missing “name” field. I think you could add an author or a name of that specific profile (based on the screenshot attached – the name is blank).
You can also check any forums regarding that.
Missing Field “name”
So, please check if you’ve added the Name of your business and organization image at the settings available at WordPress dashboard > SEO > Settings – > General – > Site Basics. You can read more about it here: Website name, alternate website name, and alternate organization name.
Furthermore, kindly please clear the cache from caching plugins, the server, and a CDN like Cloudflare (if you are using any). If you are not sure how to clear the cache from a plugin, please contact the plugin author.
If you’d like to clear the cache from the server, please speak to your host provider. After that, kindly check any product page via the Google Rich Results testing tool https://search.google.com/test/rich-results.
I did assign a name to the user as “Unknown” from the WordPress backend and the schema was correctly generated.
Unknown
The issue is now passed in the Google search console.