Facebook Messenger not always responding
Bot Info
- SDK Platform: .NET
- SDK Version: 3.15.3
- Active Channels: messenger
- Deployment Environment: Azure App Service
Issue Description
from time to time, for some users, the bot is not responding to FB opening message - the "get Started" button payload. this is happening usually for a couple of users, in a specific time period. for instance: bot id: say2eat-slicefactory fb app id: 416560508765917 fb page id: 184610795480041
timeframe: 7/10/18 19:10-20:10 UTC the bot didn't receive three users messages. the bot did receive users messages before and after that time period. no change has been made.

ther was no exception in the bot service channels gui:

no message got to the bot

Code Example
this is the code used to create the get started postback: dynamic data = new ExpandoObject(); Data.get_started = new ExpandoObject(); Data.get_started = new { payload = "new order" };
var stringData = Newtonsoft.Json.JsonConvert.SerializeObject(data);
using (WebClient client = new WebClient())
{
client.Headers[HttpRequestHeader.ContentType] = "application/json";
var result = client.UploadString(url,stringData);
}
Reproduction Steps
- this is happening (Randomly?) for one or two customers every day, but I cant reproduce the effect from my FB account.
Expected Behavior
the bot should receive the button payload and answer the user
Actual Results
the bot didn't receive any message
I'm having almost the same problem. My bot has some hero cards with buttons and when the user clicks on these buttons, facebook messenger does not respond. It was working properly two weeks ago.
If the user types the text equal to the button text, the bot responds correctly. I tested the same bot in the telegram and the messenger in chrome, it worked fine. I don't know if is a bug in the messenger app or something like that.
For what is worth, It sometimes happens to me when you have 2 apps subscribed to 1 page. Try to see if it's your situation
@renanaugustom and @amitbend, are either of you still experiencing problems?
@stevkan I had this problem for a while. I could not figure out the reason for the problem, so I deleted the facebook app, and recreated it. I don't know why, but the bot started to work fine again. It seemed like a problem with facebook, not with the bot.
Has anyone experiencing this created a ticket with FB? Did FB acknowledge the bug? @renanaugustom @yochail
Closing as resolved. If not, please feel free to reopen.
The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repo is the preferred platform for submitting bug fixes and feature requests.