I working on python telegram bot that allow login telegram client using registered user and then do some actions using user credentials ... ... But I got the following error:
ERROR: The confirmation code has expired (caused by SignInRequest)
I use the following libraries aiogram
and telethon
.
The error above is provided by telethon
Looks like telethon
cannot use the same api_id
and api_hash
for different users ...
But if it is a case then I make bot useless, because user should now about api_id
and api_hash
and I cannot login telegram client by user credentials ... It is very strange ...
Looks like it happens not for all accounts ... some accounts login successful ...
Have anybody faced with the same error ?