Error "Cannot read property 'split' of undefined"

2025.02.23 · FAQ

In some cases, when connecting your personal bot to Telepost an error may appear:

Failed to get information about the bot. Check the token and try again.

Cannot read property 'split' of undefined

Solution

If generating a new token in @BotFather does not help, try deleting your personal bot in @BotFather and creating it again.