question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error loading schemas

See original GitHub issue

I’m trying to get the latest schemas and get this error after flushing cached schemas & restarting.

[Error - 2:41:14 PM] Unexpected: no 'allOf' member found in '{"type":"object","properties":{"type":{"enum":["Microsoft.Resources/deployments"]},"apiVersion":{"enum":["2014-04-01-preview"]},"name":{"type":"string","description":"Name of the deployment"},"dependsOn":{"type":"array","items":{"type":"string"},"description":"Collection of resources this deployment depends on"},"properties":{"allOf":[{"type":"object","properties":{"mode":{"enum":["Incremental"],"description":"Deployment mode"}},"required":["mode"]},{"anyOf":[{"type":"object","properties":{"templateLink":{"$ref":"#/definitions/templateLink"}}},{"type":"object","properties":{"template":{"type":"object"}}}]},{"anyOf":[{"type":"object","properties":{"parametersLink":{"$ref":"#/definitions/parametersLink"}}},{"type":"object","properties":{"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"}}}}]}]}},"required":["type","apiVersion","name","properties"]}'

At this point, my instance of the ARM template manager indicates that multiple schema versions I’m using are not valid, which makes validation fail on templates that work in production.

Note, I’m using v0.8.3 of the plugin

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
StephenWeatherfordcommented, Jan 13, 2020

@bmc-msft This has been fixed in the language server, should ship with our next version. Thanks for reporting!

0reactions
StephenWeatherfordcommented, Feb 7, 2020

Good to hear, thanks for letting us know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tables could not be fetched - Error loading schema content
I open workbench and connect to a local database on XAMPP and when open the connection the schema show the error message:.
Read more >
95228: Error loading schema content after 8.0.16 upgrade
Description: After upgrading MySQL Workbench 8.0.15 to 8.0.16 anytime I connect to a database, the following error shows up in the Output ...
Read more >
microsoft/vscode-azurearmtools - Error loading Schemas
I have tried to Reload Cached Schemas and have manually deleted .local/share/Microsoft/ARMLanguageServer but none worked. This error prevents ...
Read more >
ERROR: Error while loading schema - DataStax Support
An error while loading schema means an exception occurred while attempting to load the schema saved on disk. The stack trace will provide...
Read more >
Workbench reports Error loading schema content
My Oracle Support Banner. Workbench reports Error loading schema content (Doc ID 2858973.1) · Applies to: MySQL Workbench - Version 8.0 to 8.0...
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