Telegram Node Error: "Bad Request - Can't Parse Entities"

Hi everyone,

I’m running into an issue with the Telegram node in n8n. Here’s the error I’m getting:

“Bad request - please check your parameters. Bad Request: can’t parse entities: Can’t find end of the entity starting at byte offset 1023.”

What I’ve tried so far:

  • Double-checking the parameters (e.g., chat ID, message content).
  • Shortening the message length to see if it’s a character limit issue.

Questions:

  1. What does “can’t parse entities” mean in this context?
  2. Is there a character limit or specific formatting requirement for Telegram messages in n8n?
  3. How can I adjust the parameters to resolve this error?

Any advice or suggestions would be greatly appreciated!

Thanks in advance.

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
3 Likes

The error means there’s an issue with the message formatting, likely due to invalid Markdown or HTML syntax in the Telegram node. Check for unclosed tags (like * or _) or special characters (like . or -) that need escaping with a backslash (). Switch parse_mode to “MarkdownV2” or “HTML” and ensure proper formatting. If the message is long, trim it below 1024 bytes to test.

3 Likes

I’ve run into the same issue.

We know about the error, but it’s odd that everything worked fine for a while before this started happening.

Thanks

I fixed that after spending 2 hours…

  1. Add Field
  2. Select " Parse Mode"
  3. Select HTML or Markdown2

14 Likes

it worked. Thanks

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.