Microsoft bot warning older version persists even after update
I am upgrading SDK version to 3.8.1 and am still getting warning messages on local bot emulator.
Warning: bot is using SDK version earlier than 3.5.0.
Warning: SDK versions earlier than 3.5.0 use authentication which will no longer work after July 31, 2017.
Warning. To keep your bot running on that date, please update your bot to use an SDK version greater than or equal to 3.5.0.
Environment setup:
Lang | Nodejs
Editor | Visual Studio Code
OS | macOS Sierra
botframework-emulator v3.5.29
SDK | "botbuilder": "^3.8.1"
source to share
I have the same problem with botframework-emulator 3.5.29
and botbuilder 3.7.1
.
The Bot Emulator checks the version by looking at the user-agent header (code here and here ), and the header is set by the bot frame here .
I would say this is a problem in the emulator as the IS header is sent by the bot platform. In my case, I am getting:
User-Agent: BF-DirectLine (Microsoft-BotFramework/3.1 +https://botframework.com/ua)
when it POST
prints a message /api/messages
, but the emulator expects this header in requests made in https://directline.botframework.com/v3/conversations/:conversationId/activities/:activityId
, causing the user-agent header to be undefined.
source to share