'my.telegram.org sends an ERROR when I want to create an API id/hash in API development tools section

I'm trying to get my API id/hash to create some bots for telegram , but in the API developmen tools section , when I enter my bot informations( name , shortname...) and click on create to get the results , I recieve an error :

my.telegram.org says ERROR

I live in Iran and telegram servers are blocked here .

what is the solution ?

!! I found the Iranians-only solution which I wrote down below .



Solution 1:[1]

I've found a solution! ( works for people in Iran mostly , cause telegram servers are blocked in Iran , same as facebook and tweeter . so you can log in to telegram site but when it comes to telegram api , no data would be transfered because it's blocked . )

simple requirements : Android phone + VPN(proxy)

If there's any Android phone close to you, take it and install a vpn (or just use a proxy to change your ip) and try to do get your API id/hash. If you have same problem again, just try other proxies or install other vpn apps. Surely you will get your API id, just be patient and repeat the process.

Solution 2:[2]

I disable the "AdBlock" extension in the browser and it's work. That may happen with enabled VPN extension as well enter image description here

Solution 3:[3]

The ip address must be in the same country as the mobile phone number of the telegram account when applying

Solution 4:[4]

In my case the only way to make it work was to switch from Chrome to Safari

Solution 5:[5]

The ip address and phone number should be in the same country. If you are in countries that prevents you from Telegram such as China. The only way is to use the mobile number of another country (you can use Google Voice, textnow or etc.). By the way, if you use a +86 phone number, you can try using the IP address in Hong Kong

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 CodeToLife
Solution 3 Eric Aya
Solution 4 Mattia Baldari
Solution 5 DreamOneX