Encountered an error (InternalServerError) from host runtime #11603
gpuchtel-grubbrr
started this conversation in
Authoring Help
Replies: 1 comment
-
Okay, so even though the documentation does not say these things are required, I added them and it worked: (sigh) resource func_DeleteOrdersByDeviceId 'Microsoft.Web/sites/functions@2022-09-01' = { |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting a 'Bad Request' [Internal Server Error] trying to deploy a 'fuction' to a 'Function App' after the fact. What I mean is that I create the function app elsewhere, then try to add a 'Function' end-point later--after the fact.
"message":"{\r\n "Code": "BadRequest",\r\n "Message": "Encountered an error (InternalServerError) from host runtime.
Here is my API module: Note: I pass in the 'name' of the Azure Function App that was created in another module.
param name string
resource functionApp 'Microsoft.Web/sites@2022-09-01' existing = {
name: name
}
resource func_GetOrdersByDeviceId 'Microsoft.Web/sites/functions@2022-09-01' = {
parent: functionApp
name: 'DeleteOrdersByDeviceId'
properties: {
isDisabled: false
}
}
Beta Was this translation helpful? Give feedback.
All reactions