# VTKreader gives weird error

**URL:** https://discourse.vtk.org/t/vtkreader-gives-weird-error/14811
**Category:** Support
**Created:** [November 2, 2024, 10:46am UTC](https://discourse.vtk.org/t/vtkreader-gives-weird-error/14811 "2024-11-02T10:46:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ahmed\_Salih](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ahmed_salih/32/1164_2.png) [@Ahmed\_Salih](https://discourse.vtk.org/u/Ahmed_Salih)
#### Post date: [November 2, 2024, 10:46am UTC](https://discourse.vtk.org/t/vtkreader-gives-weird-error/14811/1 "2024-11-02T10:46:50Z")

</div>

Hello!

I have a statefile loading in some vtkhdf files and it works well but it gives this cryptic error:

 ![image](https://discourse.vtk.org/uploads/default/original/2X/8/89f81afb0e4deab89213e3c2bd7ea6227446c300.png)

It did not use to do so. Any ideas?

When I load in the files without statefile all looks good.

Kind regards

---

<div class="post-metadata">

### Author: ![lgivord](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lgivord/32/3543_2.png) [@lgivord](https://discourse.vtk.org/u/lgivord)
#### Post date: [January 13, 2025, 3:33pm UTC](https://discourse.vtk.org/t/vtkreader-gives-weird-error/14811/2 "2025-01-13T15:33:25Z")

</div>

Hello @Ahmed_Salih,

Sorry to not see your thread before… Indeed the error message is not really useful, it happens when we encounter a polydata or an unstructured grid which doesn’t follow the current spec. So you might have an error in your dataset itself, could you please share you data?
