admin管理员组

文章数量:1415145

We are experiencing an intermittent issue with our Azure Bot Service integrated with the Facebook channel (paid plan). The bot occasionally fails to respond, throwing a Facebook API error.

The issue appears randomly and can persist for minutes or hours, sometimes disappearing for days before reappearing. It affects all conversations at the same time, indicating a broader system failure rather than an isolated case.

Messages sent from the same Facebook account at the same time can behave inconsistently—for example, the bot may respond on a PC but fail on a mobile device.

We have verified that no rate limits were hit. The bot is built using the Bot Framework with a NestJS implementation and otherwise functions correctly.

Environment: Bot Framework SDK Version: 4.23.2 Node.js Version: v20.15.1

 "message": "An error occurred during the conversation turn",
  "error": "Facebook API error",
  "activityType": "message",
  "userId": "8854268761347466",
  "conversationId": "8854268761347466-484143228115647",
  "stack": "RestError: Facebook API error\n    at handleErrorResponse (C:\\Users\\Ibrahim\\Desktop\\DEV\\c2b-api\\node_modules\\@azure\\core-http\\src\\policies\\deserializationPolicy.ts:274:17)\n    at <anonymous> (C:\\Users\\Ibrahim\\Desktop\\DEV\\c2b-api\\node_modules\\@azure\\core-http\\src\\policies\\deserializationPolicy.ts:179:47)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at ThrottlingRetryPolicy.sendRequest (C:\\Users\\Ibrahim\\Desktop\\DEV\\c2b-api\\node_modules\\@azure\\core-http\\src\\policies\\throttlingRetryPolicy.ts:66:22)\n    at ConnectorClient.sendOperationRequest (C:\\Users\\Ibrahim\\Desktop\\DEV\\c2b-api\\node_modules\\@azure\\core-http\\src\\serviceClient.ts:521:23)"

本文标签: Azure Bot Service Facebook Channel API ErrorStack Overflow