GithubHelp home page GithubHelp logo

Comments (9)

Aleksion avatar Aleksion commented on May 18, 2024

There's a closed issue where multiple of has has faced the same issue.
Are you using node or C#?
Are you pointing to an HTTPS domain?
And have you tested that your endpoint is working? (hit it directly with Postman with a post request. Add appId and appSecret as basic authentication. And debug from there.

from botframework-sdk.

chgc avatar chgc commented on May 18, 2024

Are you using node or C#?
C#

Are you pointing to an HTTPS domain?
YES

have you tested that your endpoint is working?
YES

Here are the debug results for now.

  1. return message.CreateReplyMessage($"You sent {length} characters"); => working
  2. return await Conversation.SendAsync(message, MakeRootDialog); => not working
    (the code is copied from sample)

from botframework-sdk.

chgc avatar chgc commented on May 18, 2024

Found it.
the problem is because message.BotPerUserInConversationData has data from previous version. It has FormDialog with complete status. and that's what cause the problem.
Somehow. BotConnector kept the message information from previous version of Bot.
therefore, I need to clear the BotPerUserInConversationData. and then Everything is working again.

from botframework-sdk.

Huskitch avatar Huskitch commented on May 18, 2024

Any chance you could expand a bit further on what you did to fix this? Having the same problem.

from botframework-sdk.

Huskitch avatar Huskitch commented on May 18, 2024

@chgc

from botframework-sdk.

dillongoeda avatar dillongoeda commented on May 18, 2024

Good find @chgc. For anyone wondering. All you have to do is to make message.BotPerUserInConversationData = null; before you do anything else. Publish it, and then send a message to to the bot from the channel that is giving the problem. Delete the line and publish again.

from botframework-sdk.

chuckgiddens avatar chuckgiddens commented on May 18, 2024

dillongoeda...you are correct. That is the ONLY way to fix this issue. which sucks because anytime you get into an unknown state you are dead in the water. Has anyone found a way to handle this without having to republish 3 times?

from botframework-sdk.

evnik avatar evnik commented on May 18, 2024

Try to send /deleteprofile command to avoid republish. Check #101 for details.

from botframework-sdk.

niyatia avatar niyatia commented on May 18, 2024

Hi there,

I am trying to create an echo bot and running into same issue while connecting it from slack. I am using same configuration as @chgc. However, I do not find message.BotPerUserInConversationData anywhere in my code that was created using the template and EchoBot example in the documentation. I am NOT using the EchoBot sample in the source code of this repository. I just want to make a successful connection with slack as of now. Any guidance in where to add this flag and reset or what could be the potential cause if I do not have this flag at all?

Thanks in advance.

Update: I tried sending /deleteprofile as @evnik suggested, but after I send something else, I get the same error.

from botframework-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.