Closed Sire closed 5 years ago
@vishwacsena please investigate.
@Sire I cannot repro this. Can you clarify where you see these events logged to?
Closing due to lack of activity. Please reactivate if you continue to see this or will additional information on where you were seeing these events logged to.
@vishwacsena Sorry was on vacation.
Under my Azure "Web App Bot", page "Channels", under the "Health" column for channel "Facebook Messenger".
After I successfully send and receive a message it says "Warnings (2)" in this column. Clicking to show details displays:
Facebook Messenger Recent issues Clear All Time Message 7/30/2018, 12:57:33 PM Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly. 7/30/2018, 12:57:24 PM Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly.
Having same problem when using test app.
same issue , nothing changed and got error now. No message delivered to application
@stevengum please reopen
@1110770MiguelSilva, and @vovanb, please provide which template you're using if any and the botID and bot handle for your bot.
@jwiley84, can you investigate? Thanks!
Hi @Sire!
Couple of things: what Facebook Page Subscriptions are you using? For example:
Also: When you say "In test mode", do you mean your app on the Facebook Developer Portal is set to 'Status: In Development'?
@jwiley84 Yes I use those exact page subscriptions (webhooks).
Yes, I use the test version of my app, and it's in development mode. I think I've tried the non-test version as well (that is in live mode), but I can double check.
@Sire,
Just for clarification, you are successfully receiving responses from you bot, and this is only showing on the channels blade of your bot on Azure?
To be the bearer of bad news, I know that messaging_optins was not supported in the v3 SDK, so chances are very high that it isn't currently supported in the v4 SDK. Not that I think that it's the core of the issue, as a simple echobot wouldn't need optins, just that might be a possible impact.
@jwiley84 That is correct.
Ok, should I try to remove messaging_optins and see if the problem goes away?
@Sire
If this is just an echo bot, then you shouldn't be calling 'messaging_optins' in the code at all, so that SHOULDN'T be the issue, but yes, go ahead and turn that one off, and let me know what happens.
@Sire are you still having this issue?
@jwiley84 After removing messaging_optins I still receive warnings, but one less. 4 now, was 5 before (per initial message sent). They drop in one every ~20 seconds after the initial first message sent.
I'm forced with the same issue. I'm using bot framework 3.16.xx and got the same Problem. I'm 100 percent sure that i took the right secret (According to the documentation (https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-facebook?view=azure-bot-service-3.0)) Error-Message:
01/11/2018, 1:01:42 PM | Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly. |
---|---|
01/11/2018, 12:56:33 PM | Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly. |
01/11/2018, 12:55:18 PM | Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly. |
01/11/2018, 12:54:25 PM | There was an error sending this message to your bot: HTTP status code InternalServerError |
01/11/2018, 12:54:03 PM | Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly. |
Thanks for your support.
@Sire: I know it's been a while, but digging around in Facebook dev show that they've been undergoing changes to their dev app review and publish process you might have caught the tail end of. Just to double check: are you still having this issue, and is it still impacting your bot's ability to function?
@2015PM: please open a separate issue on Botbuilder-v3 and I can work with you on that thread.
Closing for lack of response.
Hello, could you please reopen this flow? I have the same issue with the message : Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly.
My bot works in the test channel but not on Facebook or other channel
@jwiley84 I do not see these errors anymore since upgrading to Bot Builder v4.2.0 and .NET Core 2.1.
still receiving this message on bot framework 4.2 node js. I can confirmed my app secret is totally correct, and remove and add again FB channel still the same.
Hello, Any news on it? I'm getting this error a lot on some bots, but not on others. Let me know what type of information I can provide for you to investigate it further.
Thank you,
Hi @anagor
This issue is closed, and closed issues are not monitored by the team. Please open a new issue or ask a question on stack overflow.
Also, something to check is the facebook page subscription fields. Are they the same on the bots with errors as the bots without errors?
Bot Builder v4.0.1 .NET Core 2.0
I've setup the echo bot and a Facebook channel, published to Azure and sending/receiving messages and everything else works fine.
However, I get flooded with these FB channel warnings around every 2 minutes: "Failed to validate incoming Facebook message. Make sure your FacebookAppSecret is entered correctly."
I've triple checked the facebook app id, secret, page id, page token.
I'm using a Facebook app in test mode if that matters. Any ideas?
Custom event log details: