skin_cluster_node.getWeights: Object is incompatible with this method

Hi

I’m trying to get weights of the skinCluster. My function works for most of the objects, but it fails on one.
Here’s the code:
skin_cluster_node = pm.PyNode(skin_cluster_str)
skin_cluster_node.getWeights(no_intermediate_shapes[0])

It prodces an error:
RuntimeError: (kInvalidParameter): Object is incompatible with this method

The mesh is a normal mesh, I do not know what is special about it. Can someone help me?

Regards

Geodesic Voxel was the reason. I’ve got to check why