Unexpected internal error (code: -1)
Usually caused by a temporary problem on Facebook's or Instagram's servers. Wait and resend; if it keeps happening for many people, reconnect the channel.
How it appears in your error log: Unexpected internal error - code: -1
This isn't caused by your settings. It almost always comes from a temporary overload on Facebook's or Instagram's servers, and usually fixes itself within a few minutes or a few hours.
Why it happens
- Meta's servers had a temporary problem: the most common case. Facebook's API returns this error when it can't handle the load or is running an internal update.
- The connection between Smartbot and Meta dropped: the data transfer between the two platforms broke off at the exact moment the bot sent the message, or the channel's Access Token was briefly inactive.
- The person's account was temporarily restricted: Meta temporarily locked the recipient's account to check it for spam or rule violations, so the bot couldn't reach it.
How to fix it
Meta's servers had a temporary problem
Check Meta Status or Downdetector to see whether Facebook is down for everyone. If the problem is on Meta's side, the only thing to do is wait until it's back to normal.
The connection between Smartbot and Meta dropped
- If Facebook is working normally but this error keeps appearing for many people at once, go to Settings (Тохиргоо) → Channels (Сувгууд).
- Choose the channel with the error (Facebook Messenger or Instagram) and click Reconnect (Холболт сэргээх) in the Refresh permissions (Эрхийг шинэчлэх) section.
The person's account was temporarily restricted
Open that person's chat from Inbox (Харилцан яриа) and send the flow or message again by hand. If it was a temporary glitch, it goes through this time.
Tips
- Wait a little and try again: 99% of these errors come from a temporary load on Facebook's or Instagram's servers, so there's no need to worry.
- Don't resend in bulk: if this error keeps appearing while you send Broadcast Messages (Зарлал), pause the broadcast and wait for things to settle. Forcing many resends can lower your page's rating.
- Reconnect once a month: this error can also appear after a page admin changes or the Facebook account's password is updated. Refreshing your channel with Reconnect (Холболт сэргээх) in Smartbot once a month helps prevent these sudden errors.
You do this in the Chatbot panel.new-cp.smartbot.mn
Open Chatbot panel