Unparsable Structured Data Error in Search Console

IlluminateLabs
Explorer
118 0 14

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?

 

0 Likes
KieranR
Shopify Partner
305 25 96

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

KieranR_0-1626139945011.png

But there are still a number of warnings. 

Full time Shopify SEO guy, based in NZ. Sometimes freelance outside the 9-5.
0 Likes