Re: Unparsable Structured Data Error in Search Console

Unparsable Structured Data Error in Search Console

IlluminateLabs
Explorer
126 0 16

I recently updated our structured data for our products to include price and fix an error. An example which is showing an error looks like this:

 

<script type="application/ld+json">// <![CDATA[
{
"@context": "http://schema.org/",
"@type":"Product",
"name":"Ashwagandha Extract Capsules - 600 mg",
"image": [ "https://cdn.shopify.com/s/files/1/0047/1524/9737/files/Illuminate_Labs_Ashwagandha_Image_Final.jpg?v..."
],
"url":"https://illuminatelabs.org/products/ashwagandha-extract",
"offers": {
"@type":"Offer",
"availability":"OutOfStock",
"price": "40.00",
"priceCurrency": "USD"
},
}
// ]]></script>

 

The error states: Parsing error: Missing '}' or object member name

I don't see a missing '}' or object member name here. What am I missing?

 

Reply 1 (1)

KieranR
Shopify Partner
393 34 119

Remove the last comma, then it at least detects the product:

KieranR_0-1626139945011.png

But there are still a number of warnings. 

Part time Shopify SEO, based in NZ. Sometimes freelance outside the 9-5.