IllegalArgumentException: requirement failed: Invalid uri

You connect to your db not collection thru uri
Once you are connected to your db you can create/query your collection
What operation you performed after connecting to your db with shell and what error you got?