Re: There is an error in your Sitelinks Search Box template: NO_VARIABLE.

You encoded the curly braces of the url, which you shouldn't have. The
following works fine:

########
{
  "@context":"http://schema.org",
  "@type":"WebSite",
  "url":"http://www.bonsoni.com/",
  "potentialAction":
  {
    "@type":"SearchAction",
    "target":"http://www.bonsoni.com/catalogsearch/result/index/?q=
{search_term_string}",
    "query-input":"required name=search_term_string"
  }
}
#########

2017-02-11 22:28 GMT+01:00 Bonsoni Webmaster <webmaster@bonsoni.com>:

> Hello!
>
> We are keep getting an error whenever we use the Structured Data Testing
> Tool to test our page Schema. Looked at so many different places to fix
> this but no avail.
>
> We are getting "There is an error in your Sitelinks Search Box template:
> NO_VARIABLE" error on the "urlTemplate"
>
> The code on our site look like this:
>
>
> ########
> {
>    "@context": "http://schema.org",
>    "@type": "WebSite",
>    "url": " http://www.bonsoni.com/  ",
>    "potentialAction": {
>      "@type": "SearchAction",
>      "target": "http://www.bonsoni.com/catalogsearch/result/index/?q=
> %7Bsearch_term_string%7D",
>      "query-input": "required name=search_term_string"
>    }
> #########
>
> Any help will be much appreciated.
>
> Thank you!
>
>
> - John
>
> --
>
> http://www.bonsoni.com
>
> *UK based Furniture, Homeware, Interior & Home Decor retailer*
>

Received on Saturday, 11 February 2017 21:47:59 UTC