Content is not allowed in prolog

Which IIQ version are you inquiring about?

8.4p1

I am trying to bulk import bundles and keep getting this error. I have used the export command in the iiq console to get this xml. and then tries using the import command as well as the “Import from File” within the UI.
Both cases give me this error. “Content is not allowed in prolog”

@Alyson_Trad have you added the tag ?

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE sailpoint PUBLIC "sailpoint.dtd" "sailpoint.dtd"> 
  <sailpoint>
    // Bundle xml here
</sailpoint>

also ensure the file is saved with the correct encoding (UTF-8 without BOM)

Yes, I have all of those tags you have there. I have verified the encoding is UTF-8

Open your XML file in a code editor (like VS Code or Notepad++). These editors usually have an option to change the encoding. Save the file as UTF-8 without BOM.

  • Notepad++: Go to EncodingEncode in UTF-8 without BOM.

Verify the file extension is .xml