howdyai / botkit

Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
MIT License
11.48k stars 2.28k forks source link

An error occured while sending message facebook/messenger #1685

Closed yestouscool closed 5 years ago

yestouscool commented 5 years ago

Users are sending message to my chatbot but the chatbot is not responding and it is giving the following error (after activating debug)

App 22779 output: debug: API ERROR { message: 'An unknown error has occurred.', App 22779 output: type: 'OAuthException', App 22779 output: code: 1, App 22779 output: fbtrace_id: 'CWf2LlNecRy' } App 22779 output: info: An error occurred while sending a message: { message: 'An unknown error has occurred.', App 22779 output: type: 'OAuthException', App 22779 output: code: 1, App 22779 output: fbtrace_id: 'CWf2LlNecRy' }

benbrown commented 5 years ago

The access token in your config is probably incorrect.

yestouscool commented 5 years ago

But what is funny is some times it sends the message and sometimes it brings that error. Today I have really face that issue.

And also the chatbot sometimes do not prompt any error but the user also do not receive any message from it.

And also whenever I restart the chatbot I receive the message :

App 898 output: info: ERROR in messenger profile API call: An unknown error has occurred.

yestouscool commented 5 years ago

It has started working by itself again. I talked to facebook guys the say it is a known issue.