Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load schema from 'https://json-schema.org/draft/2020-12/schema'. No schema request service available #103

Open
Tracked by #52
JeelRajodiya opened this issue Nov 2, 2024 · 8 comments
Assignees
Labels
🐛 Bug Something isn't working Status: Available No one has claimed responsibility for resolving this issue.

Comments

@JeelRajodiya
Copy link
Member

JeelRajodiya commented Nov 2, 2024

At Chapter 6, lesson 2. The editor yielded an error saying "Unable to load schema from 'https://json-schema.org/draft/2020-12/schema'. No schema request service available"

image

@JeelRajodiya JeelRajodiya added Status: Available No one has claimed responsibility for resolving this issue. Status: Triage This is the initial status for an issue that requires triage. labels Nov 2, 2024
@JeelRajodiya JeelRajodiya changed the title at step 6/2 the editor yielded an error saying "Unable to load schema from 'https://json-schema.org/draft/2020-12/schema'. No schema request service available" Unable to load schema from 'https://json-schema.org/draft/2020-12/schema'. No schema request service available Nov 2, 2024
@JeelRajodiya JeelRajodiya added the 🐛 Bug Something isn't working label Nov 2, 2024
@JeelRajodiya
Copy link
Member Author

@AQIB-NAWAB, Thanks for reporting. These syntax errors are intentionally there. Since format keyword is not part of validation, we had to implement custom error logic in the last chapter.

@JeelRajodiya
Copy link
Member Author

The error seems to be in the editor.

image

Making the issue available to the contributors.

@JeelRajodiya JeelRajodiya removed the Status: Triage This is the initial status for an issue that requires triage. label Nov 28, 2024
@r3yc0n1c
Copy link

r3yc0n1c commented Dec 5, 2024

Hi, I’d love to work on it.

@JeelRajodiya
Copy link
Member Author

@r3yc0n1c Sure, please go ahead.

@JeelRajodiya
Copy link
Member Author

@r3yc0n1c Are you still working on it? Please give an update!

@r3yc0n1c
Copy link

r3yc0n1c commented Mar 6, 2025

Sorry for not updating here... I'll need some time - I was working on the new 404 page for the website... I will wrap this up soon.

@jdesrosiers
Copy link
Member

This error comes from the JSON language server used by the editor. I don't think there's a way to fix it entirely other than disabling the JSON language Features extension, but then you wouldn't get JSON syntax errors. Even if you figure out a way to plugin in a schema request service, you're then going to get the warning "The schema uses meta-schema features ($dynamicRef) that are not yet supported by the validator."

Image

That's arguably a worse outcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working Status: Available No one has claimed responsibility for resolving this issue.
Projects
None yet
Development

No branches or pull requests

4 participants