If, when calling the scripts API, 5 authorization errors occurred within 30 minutes, then an IP address blocking is set for 30 minutes to protect against password guessing. This blocking does not work if the IP address from which the request is made is registered in the settings in the list of allowed.
If there are 100 erroneous requests for sending SMS in a row for 10 minutes, for example, when sending an SMS to an incorrect phone number or with forbidden text, the IP address is also blocked for 10 minutes to reduce the load from frequent incorrect requests.
In addition, such an error may occur due to frequent requests of the same type within 1 minute, for example, when sending the same message to one phone number or frequently checking the status of the same sent message.
In all cases, the error "ERROR = 4 (ip is blocked)" is returned.