For R&D purpose from my function app, I created a httptrigger function. After creating the function, I tried to modify the httptrigger binding from the intergration. I mistakenly modified the routing template as /{userid} and saved. After that my other functions are not working now. Seems like the whole function app is down.
To get back the function app working again, I did these following steps but not getting any solution.
- Modify the routing template. (not able to do this)
- Delete the problematic function from the function app. (not able to do this)
- Restart the function app. (did this with no luck)
- Disable the problematic function from the function app. (did this with no luck)
Neither of the above is not working to get back my function app working. It's showing the below error message on above of the overview tab of function app.
Microsoft.AspNetCore.Routing: An error occurred while creating the route with name 'Test' and template 'api//{userId}'. Microsoft.AspNetCore.Routing: The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value. (Parameter 'routeTemplate'). Microsoft.AspNetCore.Routing: The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value
Now can anyone please help me how to get my function app working again?
Thanks