1

From this article, I'm using:

<script type="application/ld+json">
{
  "@context" : "http://schema.org",
  "@type" : "Organization",
  "name" : "Motorfix Wangara",
  "url" : "https://www.motorfix.com.au",
  "sameAs" : [
    https://foursquare.com/v/motorfix-automotive-service--repairs/5d7846cccda09f0008a51af7,
    https://www.facebook.com/motorfixperth/,
    https://www.yelp.com.au/biz/motorfix-automotive-service-and-repair-wangara?dsid=ad033,
    https://www.instagram.com/motorfix_perth/,
    https://www.whitepages.com.au/motorfix-automotive-service-repairs-12314283/12314282B,
   ],
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "Unit 2 44 Prindiville Drive, Wangara",
    "addressRegion": "WA",
    "postalCode": "6065",
    "addressCountry": "AU"
  }
}
</script>

@ https://www.motorfix.com.au.

However, in Google Search Console, I see an error:

Unparsable structured data: Incorrect value type

enter image description here

@ the Google Structured Data Testing Tool I see

Syntax error: value, object or array expected.

An array is there.

Can you please tell me how I resolve this error?

Thanks.

1
  • Welcome to Webmasters!
    – closetnoc
    Oct 1, 2019 at 15:02

1 Answer 1

5

You need to add speech marks (") around the URL's you have in that list. Your last URL in the list also can't have a comma after it. I have placed the corrected code below.

{
    "@context" : "http://schema.org",
    "@type" : "Organization",
    "name" : "Motorfix Wangara",
    "url" : "https://www.motorfix.com.au",
    "sameAs" : [
        "https://foursquare.com/v/motorfix-automotive-service--repairs/5d7846cccda09f0008a51af7",
        "https://www.facebook.com/motorfixperth/",
        "https://www.yelp.com.au/biz/motorfix-automotive-service-and-repair-wangara?dsid=ad033",
        "https://www.instagram.com/motorfix_perth/",
        "https://www.whitepages.com.au/motorfix-automotive-service-repairs-12314283/12314282B"
    ],
    "address": {
        "@type": "PostalAddress",
        "streetAddress": "Unit 2 44 Prindiville Drive, Wangara",
        "addressRegion": "WA",
        "postalCode": "6065",
        "addressCountry": "AU"
      }
}
1
  • 2
    Welcome to Webmasters!
    – closetnoc
    Oct 1, 2019 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.