Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook API Error: Error in @azure/core-http during Message Handling #4855

Open
IbrahimYahyaoui opened this issue Feb 11, 2025 · 0 comments
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@IbrahimYahyaoui
Copy link

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Versions

What package version of the SDK are you using.
4.23.2

What nodejs version are you using
v20.15.1

What browser version are you using
Version 132.0.6834.160 (Official Build) (64-bit)

What os are you using
win 11

Describe the bug

the issue has been occurring with our Azure Bot Service integrated with the Facebook channel (paid plan). When sending messages to the bot, the system sometimes returns a Facebook API error, preventing responses.

  • The issue appears unpredictably and persists for varying durations.
  • At times, the bot functions normally for days before the error resurfaces.
  • The error occurs inconsistently across devices—even when sending messages simultaneously from the same Facebook account, the bot may respond on a PC while failing on a mobile device.
  • This issue affects all conversations at the same time, indicating a broader system failure rather than an isolated case.
  • No recent changes were made to the system, yet the bot resumes normal operation on its own after some time.
  • Currently, the issue is persistent, and with a growing user base, we cannot afford any downtime.

To Reproduce

Steps to reproduce the behavior:

  • Send a message to the bot via the Facebook channel.
  • Observe that the bot may or may not respond.
  • The issue occurs randomly—it can persist for hours, minutes, or sometimes not appear at all for days.

Expected behavior

bot reply with no error at all as it work normally

Screenshots

Image

Additional context

  • we verified that no rate limits were hit.
  • The bot is built using the Bot Framework with a NestJS implementation, and it works fine except for this error.
  • @azure/core-http is deprecated, and there is an open merge request to replace it, but it is unclear if this is the root cause of the issue.
@IbrahimYahyaoui IbrahimYahyaoui added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant