YAML(786) Unable to load schema

See original GitHub issue

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)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:19

github_iconTop GitHub Comments

3reactions
thomasjocommented, Feb 14, 2022

I’m experiencing the same issue, but for a different schema;

Unable to load schema from ‘https://goreleaser.com/static/schema.json’: Request vscode/content failed unexpectedly without providing any details.YAML(768)

I’m able to access the URL just fine using curl (and with web browsers). I’m not behind a proxy.

Version: 1.64.2
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:29.527Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.16.8-200.fc35.x86_64
2reactions
Vivapercuorecommented, May 13, 2022

same error I fix it by:

  • access it manually on browser
  • reload IDE window
  • done
Read more comments on GitHub >

github_iconTop Results From Across the Web

1 Answer - 1 - Stack Overflow
Vscode: Unable to load schema from 'https://json.schemastore.org/gitlab-ci': getaddrinfo ENOTFOUND json.schemastore.org.(768) · Ask Question.
Read more >
pre-generated config not found in Fiori dev space
Unable to load schema from 'https://sap.github.io/ui5-tooling/schema/ui5.yaml.json': Client network socket disconnected before secure TLS ...
Read more >
Validation errors when opening azure-pipelines.yml in solution
The pipeline works perfectly in Azure DevOps. Error 768 Unable to load schema from 'https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.174.2/ ...
Read more >
YAML(786) Unable to load schema #694 - bytemeta
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/ ...
Read more >
Frontend: The schema for `.gitlab-ci.yml` is missing support for ...
When using the !reference keyword in a .gitlab-ci.yml, this is shown as ... The schema is not loading correctly in the Web IDE...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found