HTTP 403 · Forbidden
HTTP 403 Flood / Rate limits

When & why it happens

The user is already a member of the maximum number of channels/supergroups. They must leave some before joining/creating more.

Handling in gogram

Surfaced as *gogram.ErrResponseCode. Match on the message:

if err, ok := err.(*gogram.ErrResponseCode); ok { if err.Message == "CHANNELS_TOO_MUCH" { // handle this error } }