Check for URI

Check for connection URI and throw Error if it doesn't exist.