Yoast / Yoast/developer

Schema.org validator examples do not work

Open
#344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
15
Forks
23
PR merge metrics
No merged PRs in 30d

Description

It seems that our method of POSTing snippets to validator.schema.org no longer works. We instead receive a 403 error.

See e.g. https://developer.yoast.com/features/schema/functional-specification/ and click on "Test & modify in the Schema.org Validator".

The code resides in src/components/YoastSchemaExample/index.js.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/components/YoastSchemaExample/index.js and reproduce the issue by opening the linked functional specification and clicking “Test & modify in the Schema.org Validator.” Inspect the POST request and its 403 response. Done means the Schema.org Validator accepts the submitted snippets from the documentation examples again.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.