Skip to main content
Hi All,

I am seeing an error with following error message when deploying experience bundle.

Error parsing file: Premature end of file.

The is deployment is triggered using a pipeline developed using yml script and it uses sfdx force:source:deploy command for deploying the experience bundle components in source format. The Salesforce CLI version is 7.198.7.

Every time I run the pipeline, the error message is same but experience bundle page name is different. Any help or pointers on this issue is welcome.

Thank you,

Prasad

 
2 respuestas
  1. 13 feb 2024, 16:24

    Its going to be some space or special character issue. I was geeting this issue in SFDX via Azure CI/CD pipeline.

     

    Meta xml file had below line which ended with special character.

    <subject>XXXX: {{{Recipient.FirstName}}}</subject> 

    It worked adding one extra space at the end.

    <subject>XXXX: {{{Recipient.FirstName}}} </subject> 

0/9000