Hi ETT Team,
Please ignore the error, I have found out the route cause of the issue. The section below was making an issue. If it doesn't have data, then it would give the error. So we have made changes on our end, and it seems to be working fine now.
<templateId root="2.16.840.1.113883.10.20.22.2.65" extension="2016-11-01"/>