redhat-developer / redhat-developer/vscode-yaml

YAML(786) Unable to load schema

Open
#694 33 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

Describe the bug

I'm getting the following "Problem" on a yaml file.
Unable to load schema from 'https://www.graphql-code-generator.com/config.schema.json': Request vscode/content failed unexpectedly without providing any details.
This is loaded from the default catalog, and I'm able to access the schema via browser and using curl within the vscode terminal. Please let me know how I can help debug.

Expected Behavior

Schema is downloaded without problem

Current Behavior

Schema isn't loaded

Steps to Reproduce

  1. Create a file called codegen.yaml
  2. Type anything

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

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

Reproduce on Windows with a codegen.yaml that triggers the default catalog entry for the GraphQL Code Generator schema, then compare the extension's request with browser and curl behavior. Trace the schema-loading path around the vscode/content request and verify that the schema downloads and validation works without the Problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.