I'm getting the following error when saving my Logic App workflow which calls a function app
Workflow validation failed for the workflow ''. {"error":{"code":"InvalidFunctionRoute","message":"The function '/subscriptions/{subid}/resourceGroups/{myresourcegroup}/providers/Microsoft.Web/sites/{nameoffunction}/functions/myfunctionapp' cannot be called from a logic app. It must not have a custom route."}}
Both my function app and logic app are in the same resource group.
The function app is a python .py file with code:
print("Hello World!")
How do i debug this error?
You cannot call a function with custom route with that connector. You can use a HTTP Action as below:
To get function URL:
Open Function :
You can select anyone of below:
This way you can call function app with custom routes.
Output: