Description
When sending information to the web sdk client (configuration fields), the validation (probably on server side) counts “userName” value as bytes and not as characters. This might apply to other fields as well, only userName is tested.
In my tests the userName value I’m sending to the client is Cyrillic and has 59 multbyte characters. PHP strlen() for example reports 110 length (but it shouldn’t be confused with character length) while JS length
property reports the character counts 59.
Error
[4003] userName length > 100 or userName is empty
Which Client Web SDK version?
Tested in 1.9.0 and latest 1.8.x
To Reproduce(If applicable)
Set userName to “Психолог, Психотерапевт, Личен и Бизнес Коуч Ирина Ставрева”
Screenshots
n/a
Device (please complete the following information):
- Device: any
- OS: any
- Browser: any
- Browser Version any