Add warning messages for invalid URI