roles - fixed raising InvalidParameters exception
time - fixed raising InvalidParameters exception