Hi Michael,
I checked your problem.
It seems that some of the cells in your file are tetrahedrons, if it is not all.
I tested this:
idList = vtk.vtkIdList()
yourmesh.GetCellPoints(0, idList)
print(idList.GetNumberOfIds())
result=3
you can see that the number of ids in the cell is 3.
In scalismo, a tetrahedral cell must have exactly four ids. and a triangular cell 3.
You must check the exact format generated by your software.