I still keep getting this bad gateway error when I try to deploy a new azure function, I have tried to delete and deploy this function 5 times now, and I still keep getting this error. This is my first azure function. The account has owner role and I upgraded the plan from a free trial to pay as you go plan. Here is my subscription ID: 6854ba33-d406-42a5-b2c4-f63675c6b003. I already registered the Microsoft.web resource provider.
ERROR: Deployment to resource group 'gh-glasses-ordering' failed. Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details. { "shellProps": { "sessionId": "cfa45bf13b7e4d41ac4dab611fcbd204", "extName": "HubsExtension", "contentName": "DeploymentDetailsBlade", "code": 404 }, "error": { "message": "Deployment 'Microsoft.Web-FunctionApp-Portal-40f50b5a-b60c' could not be found. (Code: DeploymentNotFound)", "code": 404, "error": { "content": { "error": { "code": "DeploymentNotFound", "message": "Deployment 'Microsoft.Web-FunctionApp-Portal-40f50b5a-b60c' could not be found." } }, "headers": { "cache-control": "no-cache", "content-length": "131", "content-type": "application/json; charset=utf-8", "expires": "-1", "pragma": "no-cache", "x-ms-correlation-request-id": "86ae162d-6091-4a6b-9a3c-15bd1c107686", "x-ms-failure-cause": "gateway", "x-ms-ratelimit-remaining-subscription-global-reads": "3749", "x-ms-ratelimit-remaining-subscription-reads": "249", "x-ms-request-id": "86ae162d-6091-4a6b-9a3c-15bd1c107686", "x-ms-routing-request-id": "WESTUS:20250215T000413Z:86ae162d-6091-4a6b-9a3c-15bd1c107686" }, "httpStatusCode": 404 } }}
I attached the har file when I f12 record the network activity.