Added default error message if the URI is malformed to the router