Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy on Railway from the fork dev branch, and hit NeedMemberInvalidError: The provided member is invalid or does not exist #227

Open
ftx-class-action opened this issue Dec 28, 2022 · 1 comment

Comments

@ftx-class-action
Copy link

ftx-class-action commented Dec 28, 2022

Deploy on Railway from the fork dev branch, and hit an error
2022-12-28-03:15:21:WARNING:telethon.client.users - Telegram is having internal issues NeedMemberInvalidError: The provided member is invalid or does not exist (for example a thumb size) (caused by SetBotCommandsRequest)

To Reproduce
Steps to reproduce the behavior:
Follow the instruction on this link:
https://github.com/ftx-class-action/RSS-to-Telegram-Bot/blob/dev/docs/deployment-guide.md

got the token (##9:A##)from @Botfather
got the user id (mine -> 1##2) from @userinfobot
got the api token (access_token: 67***12) from the url
Fork the repo
Deploy on Railway (dev branch)
when done, go the following error:
telethon.errors.rpcerrorlist.NeedMemberInvalidError: The provided member is invalid or does not exist (for example a thumb size) (caused by SetBotCommandsRequest)

I got the user Id from @userinfobot, and confirm my account info is correct, not sure why complained about member is invalid. Should I turn off multiuser mode?

The fork was off the latest dev branch.

Expected behavior
no error, deployment successful

Important log
MANAGER: 1##2
T_PROXY (for Telegram): not set
R_PROXY (for RSS): not set
DATABASE: postgres
TELEGRAPH: Enable (1 accounts)
UVLOOP: Enable
MULTIUSER: Enable
CPU: 1 (usable) / 32 (available) / 32 (total)
2022-12-28-03:15:21:WARNING:telethon.client.users - Telegram is having internal issues NeedMemberInvalidError: The provided member is invalid or does not exist (for example a thumb size) (caused by SetBotCommandsRequest)
2022-12-28-03:15:23:WARNING:telethon.client.users - Telegram is having internal issues NeedMemberInvalidError: The provided member is invalid or does not exist (for example a thumb size) (caused by SetBotCommandsRequest)
2022-12-28-03:15:25:WARNING:telethon.client.users - Telegram is having internal issues NeedMemberInvalidError: The provided member is invalid or does not exist (for example a thumb size) (caused by SetBotCommandsRequest)
2022-12-28-03:15:27:WARNING:RSStT - Set command error:
Traceback (most recent call last):
File "/app/src/init.py", line 256, in lazy
await asyncio.gather(*set_bot_commands_tasks)
File "/app/src/command/utils.py", line 661, in set_bot_commands
await env.bot(
File "/opt/venv/lib/python3.11/site-packages/telethon/client/users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/telethon/client/users.py", line 129, in _call
raise last_error
File "/opt/venv/lib/python3.11/site-packages/telethon/client/users.py", line 84, in _call
result = await future
^^^^^^^^^^^^
telethon.errors.rpcerrorlist.NeedMemberInvalidError: The provided member is invalid or does not exist (for example a thumb size) (caused by SetBotCommandsRequest)

Showing 31 logs

Thank you in advance for your help!

@Rongronggg9
Copy link
Owner

Duplicate of #216

@Rongronggg9 Rongronggg9 marked this as a duplicate of #216 Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants