# Paraview doesn't read vtk xml with appended data written as base64

**URL:** https://discourse.paraview.org/t/paraview-doesnt-read-vtk-xml-with-appended-data-written-as-base64/9203
**Category:** ParaView Support
**Tags:** python, vtk
**Created:** [March 16, 2022, 11:27pm UTC](https://discourse.paraview.org/t/paraview-doesnt-read-vtk-xml-with-appended-data-written-as-base64/9203 "2022-03-16T23:27:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jpmorr](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jpmorr/32/8745_2.png) [@jpmorr](https://discourse.paraview.org/u/jpmorr)
#### Post date: [June 10, 2024, 9:14am UTC](https://discourse.paraview.org/t/paraview-doesnt-read-vtk-xml-with-appended-data-written-as-base64/9203/2 "2024-06-10T09:14:17Z")

</div>

Closing this one myself as I’ve solved by now. There were two issues: incorrect file format and paraview bug.

I was writing the incorrect data in binary format at the end of the file (you can see the original binary strings are different from what is in the appended file. This was an easy fix.

The corrected file was still not being loaded into Paraview without throwing an error despite being read in other vtk based viewers, but this seems to have been related to another bug as mentioned in this [post](https://discourse.paraview.org/t/paraview-appended-encoded-vtu-file-not-working/14799).

---

_[View the full topic](https://discourse.paraview.org/t/paraview-doesnt-read-vtk-xml-with-appended-data-written-as-base64/9203)._
