Adding structured data is only half the job; the other half is making sure it is actually read correctly. A single trailing comma in JSON-LD, a badly formatted date or a missing required field can make the whole markup useless, and site owners often go months without noticing. Google offers the free Rich Results Test, and the schema.org community maintains the Schema Markup Validator. Here is how to use both, how to read their messages and how to fix the most common errors.
Rich Results Test versus Schema Markup Validator
The Rich Results Test focuses on the rich result types Google supports, such as products, FAQs, recipes, events, job postings and local businesses. It loads the page like Googlebot, executes JavaScript and reports which items were found and whether they are eligible. Types without a special Google display, such as Service, may not appear at all, which does not mean the markup is wrong. The Schema Markup Validator checks any schema.org type for syntax and vocabulary issues but ignores Google's eligibility rules. A sensible routine is to validate syntax first, then check Google eligibility.
Testing a URL or a code snippet
Both tools accept a URL, which tests exactly what visitors receive, or pasted code, which is handy for sites that are still local or behind a password. The Rich Results Test lets you choose a smartphone or desktop crawler; smartphone is the default because Google mainly indexes the mobile version. When a URL test fails, the cause is often the page itself: blocked by robots.txt, returning a server error or responding too slowly.
curl -sI https://example.uz/product/teapot
curl -s https://example.uz/robots.txt
Critical issues and warnings
Critical issues make an item ineligible, for example a missing required field or a value in the wrong format. Warnings refer to recommended but optional fields; the item stays eligible, though extra data may enrich the result. Fix critical issues first.
Example: a Samarkand ceramics shop
A ceramics shop in Samarkand tests this markup on a teapot page:
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Rishtan teapot, 1 litre",
"image": "https://misol.uz/img/teapot.jpg",
"offers": {
"@type": "Offer",
"price": "180 000 sum",
"priceCurrency": "UZS",
"availability": "In stock",
}
}
There are three errors. The trailing comma after availability breaks JSON, so the whole block is ignored and shows up in Search Console as unparsable structured data. The price must be a plain number, 180000. And availability needs a schema.org value such as https://schema.org/InStock. You can catch syntax errors locally before testing, since Python reports the exact line and column:
python3 -m json.tool schema.json
Other frequent messages
- Missing required field: for a product, at least one of
offers,revieworaggregateRatingmust be present. - Invalid date: use ISO 8601, such as
2026-03-15T19:00+05:00, not "15 March". - Unknown property: usually a typo like
pricecurrency; names are case-sensitive. - Wrong value type: plain text where an object is expected, such as a bare name instead of a
Personforauthor.
Ongoing monitoring in Search Console
On large sites, errors repeat at template level. The enhancement reports in Search Console show valid and invalid pages per markup type; after fixing a template, click "Validate fix" so Google rechecks the affected pages, and use the live test in URL Inspection for individual pages. If markup is injected by JavaScript, check the rendered HTML in the Rich Results Test to confirm the JSON-LD is really there. On sayt.uz hosting, server response times and error codes are visible in the ISPmanager logs, which helps explain "page could not be fetched" messages.