Skip to content

error caused by channels.GetChannels #29

@onekayyum

Description

@onekayyum

Checklist

  • I am sure the error is coming from Pyrogram's code and not elsewhere
  • I have searched in the issue tracker for similar bug reports, including closed ones
  • I ran pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip and reproduced the issue using the latest development version

Description

return get_validated_options(opts, warn)
[14-Sep-24 18:57:27 - WARNING] - bot - Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by "channels.GetChannels")
[14-Sep-24 18:57:27 - WARNING] - bot - Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value, Current Value -1001978150466

i am experincing this issue

it just work with old channels i mean around 5 year old, i was making file-store-bot ( codxbotz) it was working great . but i got this issue when i was deploying new bot
i made bot admin with every permission , channel id is correct and everything is fine it was working days ago but now

It just doesn't work .
The channel is private and bot has every single permission 🙄. I checked the the channel id hundred times and everything is okey but it doesn't work.

And it's only showing with the pyrogram , I've checked the PTB and that was working fine with Channels.GetChannels

Steps to reproduce

i am not coder , i was deploying codxbotz file-share-bot . just go with it and you will face the same issue that everyone facing

Code example

No response

Logs

return get_validated_options(opts, warn)
[14-Sep-24 18:57:27 - WARNING] - bot - Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by "channels.GetChannels")
[14-Sep-24 18:57:27 - WARNING] - bot - Make Sure bot is Admin in DB Channel, and Double check the CHANNEL_ID Value, Current Value -1001978150466

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions