I created a web app bot using the LUIS template on Azure. The bot reaches the default intents created (Greeting, Help, Cancel and None), but gives a "Sorry, my bot code is having an issue" error message when I invoke newly created intents in LUIS.
The newly created intents are reached successfully using the LUIS Test platform and when I query the LUIS endpoint, so it seems the issue is from the bot.
I can't figure out what's causing this issue.