Add ValueError exception

If value length exceeds maximum (SERVER_MAX_VALUE_LENGTH), then raise exception. We want to know, why data are not saved