Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Could not resolve resource" in VS Code Extension #961

Open
anthonywhite opened this issue Nov 20, 2024 · 3 comments
Open

Error "Could not resolve resource" in VS Code Extension #961

anthonywhite opened this issue Nov 20, 2024 · 3 comments

Comments

@anthonywhite
Copy link

Using Azure Resources VS Code extension v0.9.9, trying to expand a resource group in explorer. Get multiple of these errors:

info] Internal error: 'branchDataProvider.getResourceItem' threw an exception
	Could not resolve resource "/subscriptions/<subscription id>/resourceGroups/<resource group>/providers/Microsoft.Web/sites/<logic app name>"
		at CompatibleApplicationResourceBranchDataProvider.<anonymous> extension.bundle.js:2:1727792
		fulfilled extension.bundle.js:2:1726817
@alexweininger
Copy link
Member

If you revert to past versions of Azure Resources, does the issue still reproduce? Are there any more logs in the Azure Resources log output channel?

@anthonywhite
Copy link
Author

anthonywhite commented Nov 22, 2024

@alexweininger yes reproduces on e.g. version 0.9.7. The above error repeats on every resource in the group, but there's no additional detail to add. Is there a way to get more verbose logging to track down the cause? BTW, just noticed this error occurs on Logic App Standard resources, but not on Function Apps - those show ok in explorer.

@alexweininger
Copy link
Member

Ok, thanks for that information. For logs, you can check the Azure Resource Groups output window, and also the output windows of Logic Apps.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants