Title: Yoast generated JSON-LD for article has errors
Last modified: August 14, 2018

---

# Yoast generated JSON-LD for article has errors

 *  Resolved [mihaela.g](https://wordpress.org/support/users/mihaelag/)
 * (@mihaelag)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/yoast-generated-json-ld-for-article-has-errors/)
 * Hey,
 * I have the latest version of Yoast and I’m trying to add JSON-LD schema to a 
   blog post. However, I see that Yoast is doing this already, by default. It generates
   structured data for type “Article”.
    Unfortunately, the Yoast generated structured
   data DOES NOT PASS the test with Google’s Structured Data Testing Tool. Google
   is the main reason we want to add structured data to our website, right ? The
   Yoast data misses two important properties which Google specifies as mandatory.
   I see there is no way to edit the data generated by Yoast, nor to disable this
   feature. I contacted Yoast support and asked if they have plans to fix this error.
   They told me they cannot provide any kind of help or answers to any questions
   unless I become a premium user and get a subscription for the paid Yoast. Maybe
   we can help each other here then.
 * Did you encounter the same problem ? Did you find a workaround for the incomplete
   Yoast generated JSON-LD ? My temporary solution was to generate a complete JSON-
   LD data for an article and add it to the page as if I had a second article there.
   So now I have two sets of data, Yoast’s incomplete data and my correct JSON-LD.
   I don’t know if this is worse than having just Yoast’s incomplete script in there
   though.
 * PS Here is a link where you can see the errors in the code generated by Yoast:
   
   [Google Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool/#url=https%3A%2F%2Fspacesparkle.ro%2Fdesign-interior-cum-functioneaza%2F)
 * Thank you
    -  This topic was modified 7 years, 11 months ago by [mihaela.g](https://wordpress.org/support/users/mihaelag/).
    -  This topic was modified 7 years, 11 months ago by [mihaela.g](https://wordpress.org/support/users/mihaelag/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fyoast-generated-json-ld-for-article-has-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Pcosta88](https://wordpress.org/support/users/pcosta88/)
 * (@pcosta88)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/yoast-generated-json-ld-for-article-has-errors/#post-10590660)
 * Hi,
 * We can see in the source code for: [https://spacesparkle.ro/design-interior-cum-functioneaza/](https://spacesparkle.ro/design-interior-cum-functioneaza/)
   that there is a specific line of code which Google’s Structured Data tool is 
   highlighting:
 * `<html lang="ro-RO" prefix="og: http://ogp.me/ns#" itemscope itemtype="http://
   schema.org/Article">`
 * As Google is looking for author and publisher for that specific itemstype, it
   cannot find it, so it outputs the errors. See image: [https://pasteboard.co/HzaWgDo.png](https://pasteboard.co/HzaWgDo.png)
 * We do not think this is related to Yoast. We say that as Yoast does not output
   that specific line of code. You can see the code Yoast is outputting in this 
   image: [https://pasteboard.co/HzaWGJJ.png](https://pasteboard.co/HzaWGJJ.png).
   That code is not highlighted by Google, so we think these errors are coming from
   somewhere else such as another plugin or theme.
 * To test this, if you were to deactivate Yoast SEO (doing so will not hurt the
   SEO of your site) and clear all your caches and then run it through the Structured
   Data Tool does the same error get thrown out? If so, then we suggest first speaking
   to your theme developer for more information.
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/yoast-generated-json-ld-for-article-has-errors/#post-10616132)
 * No further response, setting to resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Yoast generated JSON-LD for article has errors’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [json-ld](https://wordpress.org/support/topic-tag/json-ld/)

 * 2 replies
 * 3 participants
 * Last reply from: [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/yoast-generated-json-ld-for-article-has-errors/#post-10616132)
 * Status: resolved