botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Facebook] why am I getting message "already in use by another bot"

Open ritopai opened this issue 8 years ago • 15 comments

Bot Info

  • App ID: 3ce561e7-dff8-47d9-b926-edca552e6e4a
  • SDK Platform: .NET
  • SDK Version:
  • Active Channels: Facebook
  • Deployment Environment: Auzure Bot Service

Issue Description

hi Team I create a Bot Service on Azure When I set up a Facebook Channel, I got this error message image

I'm sure this Facebook Page 125143697558679 is not connected to any Bot Can help solve this problem?

ritopai avatar Dec 08 '17 07:12 ritopai

Thanks for reporting, let us look into this for you.

JasonSowers avatar Dec 08 '17 18:12 JasonSowers

I have confirmed Facebook Page 125143697558679 is already registered to another bot. This is the reason you are seeing this error. The bot it is registered to has a very similar name to yours. I will reach out via the email address registered to that bot.

JasonSowers avatar Dec 08 '17 18:12 JasonSowers

Thank you for your assistance The Facebook page has 150,000 people tracked and contacted more than 1 million people Connect bot framework is very important to my company

ritopai avatar Dec 09 '17 01:12 ritopai

@madukapai Did you resolve this? I never heard back from the email I sent.

JasonSowers avatar Dec 21 '17 17:12 JasonSowers

@JasonSowers Not resolved, so can I try to connect this page id now? Which e-mail address did you send? I did not receive any mail

ritopai avatar Dec 22 '17 07:12 ritopai

For security reasons, I cannot give out the email listed on the bot. The bot registered to that facebook page is named Kuai3FacebookRobot. I'm happy to help and provide any information I can and help resolve this. I will send another email to the Hotmail email address listed with the Kuai3FacebookRobot bot.

JasonSowers avatar Dec 22 '17 16:12 JasonSowers

@JasonSowers Thank you very much, I guess, registered BOT email address may be [email protected], [email protected] or [email protected], all three are currently in use by me, so if I provide email address is correct, I can provide more Information (ex:bot framework screen, azure web app screen...) to confirm and resolve this problem.

ritopai avatar Dec 23 '17 06:12 ritopai

@madukapai whats the best email to contact you at? I have escalated this.

JasonSowers avatar Jan 03 '18 21:01 JasonSowers

@JasonSowers you can send email to [email protected] or [email protected]

ritopai avatar Jan 04 '18 12:01 ritopai

Same situation here. I've already deleted the bot on my original Azure account, but having problems adding channel for the new bot on my new Azure account My email: [email protected]

image

Another issue is that I can't test my bot in "Test in Web Chat"

image

fsps60312 avatar Jan 17 '18 13:01 fsps60312

I also have this same message. I did have another bot for testing, but I removed that. So not sure what to do now. Our page ID is 103749919719606. The web chat test is working fine in our case. Really like this product so hope we can solve this. Email [email protected] or [email protected] .Thanks.

mvanhalen avatar Feb 01 '18 18:02 mvanhalen

Same issue here, mi page ID is: 559757797690577. Email: [email protected]. I deleted the previous bot and I'm trying to link the same page with a new bot with different azure account.

dsanabriav avatar Feb 05 '18 17:02 dsanabriav

Same issue here

yochail avatar Feb 06 '18 14:02 yochail

this hack is not working anymore - fake page id is not allowed

I succeeded to somehow overriding this bug with the following hack:

 public virtual async Task<HttpResponseMessage> Post([FromBody] Microsoft.Bot.Connector.Activity activity)
        {

            //this is a stupid hack, solving the problem here: https://github.com/Microsoft/BotBuilder/issues/3893
            if (activity.Recipient.Name == "<old app name>")
            {
                activity.Recipient.Name = "<new app name>";
                activity.Recipient.Id = "<Fake page id>";
            }

where "old app name" is the name that the bot thinks is still connected to the FB page, new app name is the current connected application, and "Fake page id" is the id you insert in the new bot service when creating the "messenger" channel connection. i inserted my real page id with space in the end, and then i can save it.

yochail avatar Feb 06 '18 14:02 yochail

Closing the issue assuming it as resolved. Please reopen a new issue if it still persists.

fanidamj-zz avatar Jun 21 '18 23:06 fanidamj-zz