Telegram bot displaying error

glorios111

Registered Member
Joined
Apr 10, 2022
Messages
53
Reaction score
54
Hi guys I am experiencing an error when using my script, after googling the problem found some thread but it´s 1 day old so still no answers there...

I have been using the script the same way as I did for the past months, I tried changing all that I could and the same thing pops up...

Idk if I can post the line of code, but this is the last line :

telethon.errors.rpcerrorlist.ApiIdInvalidError: The api_id/api_hash combination is invalid (caused by SendCodeRequest)
 
looks like api key stopped working (most likely banned)
 
How can I check this and if needed change it?
Try to use another account's API and see if it works. If it works, then the issue is with your tg account, probably banned as suggested above.
 
Am trying with multiple accounts but the result is the same
 
Am trying with multiple accounts but the result is the same
Oh, I thought you're using a single account. If you're creating a new account every time and fetching the API and hash from that account, then look into the given below checks:

1. Are you using private proxies or creating bulk accounts from a single ip? If you are using private proxies, then how many accounts you're registering per proxy?

2. Did you try to manually login to one of the accounts in the app which shows the API error? Does it work just fine, like a normal account?
 
1- I am creating accounts via Mobile Data and mix it up by using NordVPN. I create around 10-20 acc daily and switch it up after every acc.
2- Yes, I can use this account as normal.
 
1- I am creating accounts via Mobile Data and mix it up by using NordVPN. I create around 10-20 acc daily and switch it up after every acc.
2- Yes, I can use this account as normal.
Man, you are using a single mobile device and using NordVPN (commercial VPN's is a big NO). c'mon, it is not 2010. Your device id can get blacklisted as well by the service.

Also, the issue could be in your bot's API parameters.
Have you tried to test the API manually via parsing the request? If it works with no error, then you need to fix it in the bot codes.
 
Last edited:
@Sartre please shed some light from your expertise on this topic.
i have very little experience with coding telegram bots. I wrote a simple notification bot using Telethon but didn't have any problems.
 
1- I am creating accounts via Mobile Data and mix it up by using NordVPN. I create around 10-20 acc daily and switch it up after every acc.
2- Yes, I can use this account as normal.
vpns are useless for account making due to being abused by many people
you should be making accounts with 4g proxies
 
Back
Top