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

pyrogram.errors.exceptions.not_acceptable_406.NotAcceptable: [406 Not Acceptable]: [406 UPDATE_APP_TO_LOGIN] (caused by "auth.SignIn") #1

Open
sephiroth-croft opened this issue Apr 11, 2022 · 0 comments

Comments

@sephiroth-croft
Copy link

I have installed all the modules required in requirement.txt, got the api_id and api_hash values and compiled them in config.ini file, run the run.sh and got the following error (Two-Step Verification is inactived):

Traceback (most recent call last):
File "/home/kali/TelegramExporter/telegramexporter.py", line 823, in
with Client("my_account", hide_password=True) as client:
File "/usr/local/lib/python3.9/dist-packages/pyrogram/client.py", line 248, in enter
return self.start()
File "/usr/local/lib/python3.9/dist-packages/pyrogram/sync.py", line 56, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/dist-packages/pyrogram/methods/utilities/start.py", line 57, in start
await self.authorize()
File "/usr/local/lib/python3.9/dist-packages/pyrogram/client.py", line 327, in authorize
signed_in = await self.sign_in(self.phone_number, sent_code.phone_code_hash, self.phone_code)
File "/usr/local/lib/python3.9/dist-packages/pyrogram/methods/auth/sign_in.py", line 61, in sign_in
r = await self.send(
File "/usr/local/lib/python3.9/dist-packages/pyrogram/methods/advanced/send.py", line 77, in send
r = await self.session.send(
File "/usr/local/lib/python3.9/dist-packages/pyrogram/session/session.py", line 441, in send
return await self._send(data, timeout=timeout)
File "/usr/local/lib/python3.9/dist-packages/pyrogram/session/session.py", line 411, in _send
RPCError.raise_it(result, type(data))
File "/usr/local/lib/python3.9/dist-packages/pyrogram/errors/rpc_error.py", line 68, in raise_it
raise getattr(
pyrogram.errors.exceptions.not_acceptable_406.NotAcceptable: [406 Not Acceptable]: [406 UPDATE_APP_TO_LOGIN] (caused by "auth.SignIn")

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