V.4.0 api

Возможна ошибка:
TypeError: Cannot read property 'substring' of undefined