Problems building extensions in VS Code: "Unable to load schema ..."

Today, I’m trying to build an extension I had to test. Can’t manage to do it through the GUI, as it says:

  • Unable to load schema from ‘/home/administrator/.config/Code/User/globalStorage/dynatraceplatformextensions.dynatrace-extensions/1.285.0/extension.schema.json’: No content.

It really depends, I have a lot of different ones, both from old/new schemas:

In the process, I have seen that the schemas are really downloaded with HTTP, but then it redirects:

Even creating an extension from scratch yields the same issue. Tried also with two different tenants, same result.

The files in VS Code are OK. I even restarted a VM I’m sure was working about a month ago, and it has the same problem.
Compiled with dt-sdk, they do compile. And they also run locally.

Hi @AntonioSousa ,

this is caused by update of RedHat yaml extension is vscode. I also sumbled upon this on Friday afternoon. Already known issue and reported:  [Bug]: Schema Loading Error in VSCode Dynatrace Extensions (gcp.schema.json) · Issue #285 · dynatrace-extensions/dynatrace-extensions-vscode · GitHub . Just downgrade the yaml extension and disable it’s autoupdate for a while to get this working again.

@Julius_Loman ,

Thanks so much! I downgraded almost everything, except the yaml extension. Working again!

Glad I thought to check the community for this! Been struggling with this issue for an hour at least. Thanks guys!