URI must be a string or UriInterface