
var token = await GetDirectLineTokenAsync();
using var client = new Microsoft.Bot.Connector.DirectLine.DirectLineClient(token);
var conversation = await client.Conversations.StartConversationAsync();
{
"error": {
"code": "ResourceNotFound",
"message": "Site missing. 1:Learn more about sites https://docs.microsoft.com/azure/bot-service/bot-service-channel-connect-directline?view=azure-bot-service-4.0#add-new-site. 2:If you are using regional bot, please make sure you are using <[region].*.botframework.com>. Learn more https://docs.microsoft.com/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-authentication?view=azure-bot-service-4.0#generate-a-direct-line-token"
}
}