Telethon icon indicating copy to clipboard operation
Telethon copied to clipboard

New feature in tg FROZEN Account

Open anmv opened this issue 7 months ago • 2 comments

Code that causes the issue

...

Expected behavior

...

Actual behavior

...

Traceback

BadRequestError:FROZEN_PARTICIPANT_MISSING

File "telethon/client/updates.py" , line 353 , in _update_loop
     diff = await self(get_diff)
File "telethon/client/users.py" , line 30 , in __call__
     return await self._call(self._sender, request, ordered=ordered)
File "telethon/client/users.py" , line 92 , in _call
     result = await future

Telethon version

1.40.0

Python version

3.12.3

Operating system (including distribution name and version)

Ubuntu 24.04.1 LTS

Other details

This is a new feature in telegram. Account freeze. I thought it might be important to update the library for it

Message:
Fatal error handling updates (this is a bug in Telethon v1.40.0, please report it)
Exception

BadRequestError
FROZEN_PARTICIPANT_MISSING

Image

Checklist

  • [x] The error is in the library's code, and not in my own.
  • [x] I have searched for this issue before posting it and there isn't an open duplicate.
  • [x] I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.

anmv avatar May 09 '25 12:05 anmv

I’m encountering the same issue on both Telethon v1.39 and v1.40.

This seems to be related to Telegram's new "account freeze" feature — the account gets frozen immediately after performing certain actions like: Changing 2FA password Updating profile name Uploading a profile photo Sending a message

In contrast, passive actions like get_me, get_entity, get_messages do not appear to trigger the freeze, at least for now.

Hope this helps with reproducing the bug. Let me know if any logs or traces are needed.

Image

zerolimits303 avatar May 11 '25 18:05 zerolimits303

Can any of you provide the json that the tg produces if the account is frozen

Alex22891 avatar Jun 03 '25 17:06 Alex22891