Cannot convert value "System.Object[]" to type "System.Xml.XmlDocument"

When deploying to a Service Fabric cluster, getting the below error message.
Cannot convert value “System.Object[]” to type “System.Xml.XmlDocument”
Error: “An error occurred while parsing EntityName. Line 15, position 193.”

this error is after the following piece in the service fabric deployment
Importing ServiceFabricSDK modules from C:\Program Files\Microsoft SDKs\Service Fabric\Tools\PSModule\ServiceFabricSDK

Hi Sohail, thanks for getting in touch.

Unfortunately, the error does not give us much to work with. It may be that the package structure isn’t quite right. We require some additional steps as indicated in our documentation and also had a recent blog post which covered the reasons behind this.

Are you able to deploy your package manually using Visual Studio? This should eliminate whether it’s an Octopus problem or not.

Regards,
Shaun

You can close the request. The issue was with the password that was used in one of the connection strings had a & in it.

Thanks.

Hi Sahail, no problem at all.

Please let us know if there is anything else we can help with.

Regards,
Shaun