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

Added six accounts and can't run get_data.py #8

Open
kalilfagundes opened this issue Dec 19, 2023 · 0 comments
Open

Added six accounts and can't run get_data.py #8

kalilfagundes opened this issue Dec 19, 2023 · 0 comments

Comments

@kalilfagundes
Copy link

kalilfagundes commented Dec 19, 2023

I cleaned config file, deleted the banned accounts but still get this error. I even checked in a telegram client to see if they up or not.

Choose Method Username or ID: username
Traceback (most recent call last):
File "C:\Users\kalil\Documents\TelegramAdder\TelegramAdderTool\get_data.py", line 31, in
asyncio.run(main())
File "C:\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\base_events.py", line 664, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\kalil\Documents\TelegramAdder\TelegramAdderTool\get_data.py", line 27, in main
await get_data(gp_s_id, gp_t_id, config, method)
File "C:\Users\kalil\Documents\TelegramAdder\TelegramAdderTool\helper\data.py", line 21, in get_data
async with Client(phone, workdir="session") as app:
File "C:\Python312\Lib\site-packages\pyrogram\client.py", line 311, in aenter
return await self.start()
^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\pyrogram\methods\utilities\start.py", line 68, in start
await self.invoke(raw.functions.updates.GetState())
File "C:\Python312\Lib\site-packages\pyrogram\methods\advanced\invoke.py", line 79, in invoke
r = await self.session.invoke(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\pyrogram\session\session.py", line 389, in invoke
return await self.send(query, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\pyrogram\session\session.py", line 357, in send
RPCError.raise_it(result, type(data))
File "C:\Python312\Lib\site-packages\pyrogram\errors\rpc_error.py", line 91, in raise_it
raise getattr(
pyrogram.errors.exceptions.unauthorized_401.UserDeactivatedBan: Telegram says: [401 USER_DEACTIVATED_BAN] - The user has been deleted/deactivated (caused by "updates.GetState")

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

1 participant