Bot acts differently in Microsoft TeamsBotFramework WebChat not receiving messages.How to display a welcome message from my Bot using Microsoft Bot FrameworkAuthorization for Microsoft App ID xxx failed with status code Forbidden and reason phrase 'Forbidden'Send Attachments to Bot in TeamsBot Framework - Bot initiates the conversation on SkypeMicrosoft Azure Bot App Skype Channel not WorkingHow can I diagnose why my bot isn't working with Skype?Action.Submit buttons in Adaptive card does not render in SkypeHow to get user device type accessing skype for business bot built in MS Bot FrameworkBot working on Emulator but not on Azure (InternalServerError)
Multi tool use
Match 4 columns and replace 1 in 2 files
Attacking the Hydra
Heyawake: An Introductory Puzzle
A man in the desert is bitten by a skeletal animal, its skull gets stuck on his arm
How do I ask for 2-3 days per week remote work in a job interview?
Are there any low-level means to *exit* the Ethereal plane to a plane of my choosing?
Is there any official ruling on how characters go from 0th to 1st level in a class?
Installing Windows to flash UEFI/ BIOS, then reinstalling Ubuntu
When did Bilbo and Frodo learn that Gandalf was a Maia?
Is there a fallacy about "appeal to 'big words'"?
Airline power sockets shut down when I plug my computer in. How can I avoid that?
Are there liquid fueled rocket boosters having coaxial fuel/oxidizer tanks?
What can I do to increase the amount of LEDs I can power with a pro micro?
Did Michelle Obama have a staff of 23; and Melania have a staff of 4?
English article "A" vs "The"
Weird resistor with dots around it
What should we do with manuals from the 80s?
Help, I cannot decide when to start the story
Why aren't rainbows blurred-out into nothing after they are produced?
How can I find an old paper when the usual methods fail?
Illustrator - SVG make thinner path
Why did IBM make the PC BIOS source code public?
Solving pricing problem heuristically in column generation algorithm for VRP
Is there a name for the technique in songs/poems, where the rhyming pattern primes the listener for a certain line, which never comes?
Bot acts differently in Microsoft Teams
BotFramework WebChat not receiving messages.How to display a welcome message from my Bot using Microsoft Bot FrameworkAuthorization for Microsoft App ID xxx failed with status code Forbidden and reason phrase 'Forbidden'Send Attachments to Bot in TeamsBot Framework - Bot initiates the conversation on SkypeMicrosoft Azure Bot App Skype Channel not WorkingHow can I diagnose why my bot isn't working with Skype?Action.Submit buttons in Adaptive card does not render in SkypeHow to get user device type accessing skype for business bot built in MS Bot FrameworkBot working on Emulator but not on Azure (InternalServerError)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've deployed my Bot to Webchat, Skype and MS Teams.
In OnTurnAsync
method I check, if the user input begins with bnr
then I call a specific method.
if (turnContext.Activity.Text.ToLower().StartsWith("bnr"))
string msg = RequestHandler.BnrCaller(turnContext.Activity.Text);
await turnContext.SendActivityAsync(msg);
return;
It works fine with Skype and Webchat but with teams it does not work 100%, It works just sometimes.
[Edit]
I found out, that it does not work if I copied the input into the input field but when I type it, it works fine!
.net-core botframework
add a comment |
I've deployed my Bot to Webchat, Skype and MS Teams.
In OnTurnAsync
method I check, if the user input begins with bnr
then I call a specific method.
if (turnContext.Activity.Text.ToLower().StartsWith("bnr"))
string msg = RequestHandler.BnrCaller(turnContext.Activity.Text);
await turnContext.SendActivityAsync(msg);
return;
It works fine with Skype and Webchat but with teams it does not work 100%, It works just sometimes.
[Edit]
I found out, that it does not work if I copied the input into the input field but when I type it, it works fine!
.net-core botframework
Interesting. What happens when it doesn't work? Just not call the BnrCaller? How often does it fail vs succeed? Have you attempted to debug locally using ngrok?
– Dana V
Mar 27 at 18:20
indeed! I found out the problem. I have often copied the text into the input field in MS Teams, then it didn't work but when I type it then it works :/ So the copied text is the problem! which makes the task more in interesting!
– Taher
Mar 28 at 13:39
add a comment |
I've deployed my Bot to Webchat, Skype and MS Teams.
In OnTurnAsync
method I check, if the user input begins with bnr
then I call a specific method.
if (turnContext.Activity.Text.ToLower().StartsWith("bnr"))
string msg = RequestHandler.BnrCaller(turnContext.Activity.Text);
await turnContext.SendActivityAsync(msg);
return;
It works fine with Skype and Webchat but with teams it does not work 100%, It works just sometimes.
[Edit]
I found out, that it does not work if I copied the input into the input field but when I type it, it works fine!
.net-core botframework
I've deployed my Bot to Webchat, Skype and MS Teams.
In OnTurnAsync
method I check, if the user input begins with bnr
then I call a specific method.
if (turnContext.Activity.Text.ToLower().StartsWith("bnr"))
string msg = RequestHandler.BnrCaller(turnContext.Activity.Text);
await turnContext.SendActivityAsync(msg);
return;
It works fine with Skype and Webchat but with teams it does not work 100%, It works just sometimes.
[Edit]
I found out, that it does not work if I copied the input into the input field but when I type it, it works fine!
.net-core botframework
.net-core botframework
edited Mar 28 at 14:05
Taher
asked Mar 27 at 11:36
TaherTaher
14010 bronze badges
14010 bronze badges
Interesting. What happens when it doesn't work? Just not call the BnrCaller? How often does it fail vs succeed? Have you attempted to debug locally using ngrok?
– Dana V
Mar 27 at 18:20
indeed! I found out the problem. I have often copied the text into the input field in MS Teams, then it didn't work but when I type it then it works :/ So the copied text is the problem! which makes the task more in interesting!
– Taher
Mar 28 at 13:39
add a comment |
Interesting. What happens when it doesn't work? Just not call the BnrCaller? How often does it fail vs succeed? Have you attempted to debug locally using ngrok?
– Dana V
Mar 27 at 18:20
indeed! I found out the problem. I have often copied the text into the input field in MS Teams, then it didn't work but when I type it then it works :/ So the copied text is the problem! which makes the task more in interesting!
– Taher
Mar 28 at 13:39
Interesting. What happens when it doesn't work? Just not call the BnrCaller? How often does it fail vs succeed? Have you attempted to debug locally using ngrok?
– Dana V
Mar 27 at 18:20
Interesting. What happens when it doesn't work? Just not call the BnrCaller? How often does it fail vs succeed? Have you attempted to debug locally using ngrok?
– Dana V
Mar 27 at 18:20
indeed! I found out the problem. I have often copied the text into the input field in MS Teams, then it didn't work but when I type it then it works :/ So the copied text is the problem! which makes the task more in interesting!
– Taher
Mar 28 at 13:39
indeed! I found out the problem. I have often copied the text into the input field in MS Teams, then it didn't work but when I type it then it works :/ So the copied text is the problem! which makes the task more in interesting!
– Taher
Mar 28 at 13:39
add a comment |
2 Answers
2
active
oldest
votes
The Messages coming from the Teams are having a different structure.
The message text begins with the words <at>...</at>
.
You need to delete this beginning in a Middleware component, etc.
Try to look at your incoming messages through NGROK at localhost:4040 in your web browser.
I'm not sure, if this is the what I need! It works fine for every thing, just when I copy a text into the input field, it behaves unexpectedly
– Taher
Mar 28 at 13:41
add a comment |
So, I found out the issue by dint of app-insights.
I've added a middleware
, which logs the request body into app-insights and just realized, that when I copy/paste a message like: "Hello", it would be logged in app-insights as something like this "rnnrHellornnrn". When I type it, it would be logged just fine.
So I jsut remove these symboles from the request and it works!
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55376260%2fbot-acts-differently-in-microsoft-teams%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The Messages coming from the Teams are having a different structure.
The message text begins with the words <at>...</at>
.
You need to delete this beginning in a Middleware component, etc.
Try to look at your incoming messages through NGROK at localhost:4040 in your web browser.
I'm not sure, if this is the what I need! It works fine for every thing, just when I copy a text into the input field, it behaves unexpectedly
– Taher
Mar 28 at 13:41
add a comment |
The Messages coming from the Teams are having a different structure.
The message text begins with the words <at>...</at>
.
You need to delete this beginning in a Middleware component, etc.
Try to look at your incoming messages through NGROK at localhost:4040 in your web browser.
I'm not sure, if this is the what I need! It works fine for every thing, just when I copy a text into the input field, it behaves unexpectedly
– Taher
Mar 28 at 13:41
add a comment |
The Messages coming from the Teams are having a different structure.
The message text begins with the words <at>...</at>
.
You need to delete this beginning in a Middleware component, etc.
Try to look at your incoming messages through NGROK at localhost:4040 in your web browser.
The Messages coming from the Teams are having a different structure.
The message text begins with the words <at>...</at>
.
You need to delete this beginning in a Middleware component, etc.
Try to look at your incoming messages through NGROK at localhost:4040 in your web browser.
edited Mar 28 at 10:39
Bhavik Patel
6661 gold badge4 silver badges20 bronze badges
6661 gold badge4 silver badges20 bronze badges
answered Mar 28 at 10:14
MarcMarc
1
1
I'm not sure, if this is the what I need! It works fine for every thing, just when I copy a text into the input field, it behaves unexpectedly
– Taher
Mar 28 at 13:41
add a comment |
I'm not sure, if this is the what I need! It works fine for every thing, just when I copy a text into the input field, it behaves unexpectedly
– Taher
Mar 28 at 13:41
I'm not sure, if this is the what I need! It works fine for every thing, just when I copy a text into the input field, it behaves unexpectedly
– Taher
Mar 28 at 13:41
I'm not sure, if this is the what I need! It works fine for every thing, just when I copy a text into the input field, it behaves unexpectedly
– Taher
Mar 28 at 13:41
add a comment |
So, I found out the issue by dint of app-insights.
I've added a middleware
, which logs the request body into app-insights and just realized, that when I copy/paste a message like: "Hello", it would be logged in app-insights as something like this "rnnrHellornnrn". When I type it, it would be logged just fine.
So I jsut remove these symboles from the request and it works!
add a comment |
So, I found out the issue by dint of app-insights.
I've added a middleware
, which logs the request body into app-insights and just realized, that when I copy/paste a message like: "Hello", it would be logged in app-insights as something like this "rnnrHellornnrn". When I type it, it would be logged just fine.
So I jsut remove these symboles from the request and it works!
add a comment |
So, I found out the issue by dint of app-insights.
I've added a middleware
, which logs the request body into app-insights and just realized, that when I copy/paste a message like: "Hello", it would be logged in app-insights as something like this "rnnrHellornnrn". When I type it, it would be logged just fine.
So I jsut remove these symboles from the request and it works!
So, I found out the issue by dint of app-insights.
I've added a middleware
, which logs the request body into app-insights and just realized, that when I copy/paste a message like: "Hello", it would be logged in app-insights as something like this "rnnrHellornnrn". When I type it, it would be logged just fine.
So I jsut remove these symboles from the request and it works!
answered May 11 at 13:18
TaherTaher
14010 bronze badges
14010 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55376260%2fbot-acts-differently-in-microsoft-teams%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
cbe5dyn6,VTVb8vmn6jZPiHu2S6pZ86vQn6Z ayzvgnHH Bnjr
Interesting. What happens when it doesn't work? Just not call the BnrCaller? How often does it fail vs succeed? Have you attempted to debug locally using ngrok?
– Dana V
Mar 27 at 18:20
indeed! I found out the problem. I have often copied the text into the input field in MS Teams, then it didn't work but when I type it then it works :/ So the copied text is the problem! which makes the task more in interesting!
– Taher
Mar 28 at 13:39