azure - Error with schema and VS Studio Code
See original GitHub issueDescribe the bug
I tried a lot of times even with different schemas but I always receive:
[Error - 1:15:59 PM] Request textDocument/completion failed. Message: Request textDocument/completion failed with message: Cannot read property '$ref' of null Code: -32603
or Unable to parse content from '(working directory deleted for issue reporting but file is there)\schemu.json': Parse error at offset 0.
To Reproduce $ python3 -m venv custodian $ source custodian/bin/activate (custodian) $ pip install c7n (custodian) $ pip install c7n_azure custodian schema --json > schema.json
Expected behavior Auto completion working in VS Studio Code
Background (please complete the following information):
- OS: W10
- Python Version: 3.9 but tried with 3.8 too
- Custodian Version: 0.9.6
- Cloud Provider: aws and azure
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
VSCode Error with Schema for Azure DevOps Yaml extension
I figured out what was wrong in the end for some reason in my settings VSCode can not resolve: "http://www.schemastore.org/json/composer".
Read more >YAML Schema Validation reports incorrect errors for if conditions
For an Azure Devops pipeline where there is a valid condition (e.g. it runs correctly) it is reporting a validation error in the...
Read more >Quickstart: Use Visual Studio Code to connect and query
In Visual Studio Code, press Ctrl+Shift+P (or F1) to open the Command Palette. · Select MS SQL:Connect and choose Enter. · Select Create ......
Read more >JSON Schema Store
JSON Schemas for common JSON file formats. ... In supported JSON editors like Visual Studio and Visual Studio Code, schema files can offer...
Read more >Updating ARM schema & apiVersion values - Pasi Huuhka
... the wonderful Azure Resource Manager Tools for Visual Studio Code extension ... (And finally make it stop complaining about the issue) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
through a lot of trial and error i was able to narrow this down to the logic app action which appears to have a broken schema.