Skip to content
ChatterfyHelp Center
HomeGeneralCRMAI ManagerTrackerPlatformsFAQUpdate log
FAQ
Tracker Errors
Telegram Errors
Telegram Errors
Error 400 — Telegram
Error 403 — Telegram
FAQs
  1. FAQ
  2. Telegram Errors
  3. Error 400 — Telegram

Error 400 — Telegram

Error code 400 from Telegram occurs in two typical cases: an account spam block (PEER_FLOOD) and exceeding the media caption length limit (caption is too long). These are different errors with the sam

Updated September 25, 20263 min
Error code 400 from Telegram occurs in two typical cases: an account spam block (PEER_FLOOD) and exceeding the media caption length limit (caption is too long). These are different errors with the same HTTP code — do not confuse them.
In both cases, Telegram refuses to accept the message. What exactly it is complaining about is shown in the text after the code. Below are the two scenarios separately.



rpc error code 400: PEER_FLOOD

This is a spam block — Telegram's anti-spam protection has been triggered for the account sending the messages. It happens when too many messages are sent from a single personal account or a single bot in a short period of time, or when a mass campaign is sent to a large list.
The block is not always “global”. Sometimes the restriction applies only to one or two recipients or to a specific session (for example, to one of the connected Personal accounts). Some of these restrictions are lifted automatically after a few hours.

What to do now

  1. 1

    Reduce the load

    Stop mass campaigns and Push Messages — at least for a day for now. If the bot was working through a large selection, split it into smaller ones.
  2. 2

    Increase the pauses

    In Delays — bot delays increase the delays between messages (Send Message delay, AI Reply delay). Telegram handles a more “human” conversation pace noticeably better.
  3. 3

    Vary the text

    Anti-spam is triggered more often by identical templated messages. Change the wording and add variants in Send Message.
  4. 4

    Wait

    Most Telegram restrictions are temporary. Within 6–24 hours after reducing the load, the spam block is lifted without contacting support.
To prevent this from happening again
Warm up new Personal accounts gradually: for the first 1–2 days, limit them to 30–50 messages, then increase gradually. Telegram Premium increases the base limits — for active Personal bots, it pays off. Do not use the same template unchanged at high volumes.



Bad Request: message caption is too long

The text under a photo, video, or document exceeds the allowed length. Telegram does not accept such a message — the media simply is not sent to the lead.
Length limits
A caption under a media file can be up to 1024 characters. A regular text message without media can be up to 4096 characters in Telegram. On the Chatterfy side, there is also a limit of up to 3000 characters per message — this is done to avoid truncation in edge cases.

How to fix it

Shorten the media caption to 1024 characters. If the main point does not fit, send the text and media as separate messages: first the image without a caption, then Send message — sending a prepared message with the long text.
If you use Custom Fields in substitutions, remember that the substituted value is also included in the total character count. A long lead name or username can unexpectedly push the text over the limit.
To send the same long text to multiple recipients, use How to create and set up a broadcast with splitting into media + text messages, not a single message with a large caption.



FAQ

From a few hours to a couple of days. If the error remains 48 hours after reducing the load, contact @chatterfy_support and specify the Bot ID and the time when the error appeared.

Yes, via @SpamBot inside Telegram. But this is only needed if the block has “stuck” and is not lifted automatically within 1–2 days. There is no point submitting a request for a fresh PEER_FLOOD — Telegram will ignore it.

Personal accounts have stricter limits by default than Standard bots. For them, the following are especially important: a pause between messages of ≥ 2–3 seconds, varied templates, and gradual warm-up of new sessions. Learn more about the types — Types of Bots in Chatterfy.

There is no direct “split into several” option in Send Message — to split it, you need to create two steps. If the bot often hits the limit because of Custom Fields substitutions, check the maximum lengths of these fields in Custom Fields — custom fields.

Enable a test run in Send message — sending a prepared message — send yourself the step with a realistic Custom Field value. It also makes sense to leave a buffer of 200–300 characters out of 1024 in case of long substitutions.



Related

Error 403 — Telegram
Error code 403 from Telegram means that Telegram does not allow the bot to perform the action. It happens in two common cases: the bot tries to message first in a private chat without an active sessio
Delays — bot delays
Delays ( Bot Settings → Delays) is a section for configuring delays between a user's message and the bot's response. Delays help make the conversation more natural: the bot does not respond instantly
Send message — sending a prepared message
The Send message step is the most basic flow step. It sends predefined content: text, an image, a document, a voice message, a video note, buttons. Unlike AI Reply, there is no AI here and no generati
How Mass Broadcasts Work
send a message to each lead in the audience sequentially, with a specified delay between sends. The broadcast is not sent “to everyone at once” — messages are sent one by one. Understanding this mecha

Was this article helpful?

BackTelegram ErrorsNextError 403 — Telegram

On this page

  • rpc error code 400: PEER_FLOOD
  • What to do now
  • Bad Request: message caption is too long
  • How to fix it
  • FAQ
  • Related