Skip to content

Cannot retrieve: azure.subscription.web.app.functions #5969

@syrull

Description

@syrull

Describe the bug
An empty list should be present, currently it just goes into 404 not found http request.

To Reproduce
Invoked: azure.subscription.web.apps[0]

cnspec> azure.subscription.web.apps[0]
azure.subscription.web.apps[0]: azure.subscription.webService.appsite id="/subscriptions/<uid>/resourceGroups/<rg>/providers/Microsoft.Web/sites/<name>" name="<name>" location="<loc>"
cnspec> azure.subscription.web.apps[0].functions
GET https://management.azure.com/subscriptions/<uid>/resourceGroups/<rg>/providers/Microsoft.Web/sites/<name>/functions
--------------------------------------------------------------------------------
RESPONSE 404: 404 Not Found
ERROR CODE: NotFound
--------------------------------------------------------------------------------
{
  "error": {
    "code": "NotFound",
    "message": "Error retrieving functions. <html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.28.0</center>\r\n</body>\r\n</html>\r\n"
  }
}
--------------------------------------------------------------------------------
azure.subscription.web.apps[0].functions: no data available
  • Env: Azure

Metadata

Metadata

Assignees

Labels

azurebugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions