Nicer error if unsupported URI used