Extensions
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

AntonioSousa
DynaMight Guru
DynaMight Guru

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.

Antonio Sousa
3 REPLIES 3

Julius_Loman
DynaMight Legend
DynaMight Legend

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:  https://github.com/dynatrace-extensions/dynatrace-extensions-vscode/issues/285 . Just downgrade the yaml extension and disable it's autoupdate for a while to get this working again.

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

AntonioSousa
DynaMight Guru
DynaMight Guru

@Julius_Loman ,

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

Antonio Sousa

StrangerThing
DynaMight Pro
DynaMight Pro

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

Observability Engineer at FreedomPay

Featured Posts