# Failed to load nifti file

**URL:** https://discourse.slicer.org/t/failed-to-load-nifti-file/31023
**Category:** Support
**Created:** [August 7, 2023, 9:52am UTC](https://discourse.slicer.org/t/failed-to-load-nifti-file/31023 "2023-08-07T09:52:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zeynep\_Erdogan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zeynep_erdogan/32/67024_2.png) [@Zeynep\_Erdogan](https://discourse.slicer.org/u/Zeynep_Erdogan)
#### Post date: [August 7, 2023, 9:52am UTC](https://discourse.slicer.org/t/failed-to-load-nifti-file/31023/1 "2023-08-07T09:52:10Z")

</div>

Hi Mr. Lasso, I am trying to import some NIFTI files from the total segmentator dataset in Slicer 5.2.2. But some files are not open and give an error like this:“[VTK] ReadData: This is not a nrrd file  
[VTK] vtkMRMLStorageNode::ReadData: Failed to read node ct (vtkMRMLVectorVolumeNode1) from filename=‘C:/Totalsegmentator\_dataset/s0000/ct.nii.gz’  
[VTK] vtkMRMLVolumeArchetypeStorageNode::ReadDataInternal: Failed to instantiate a file reader  
[VTK] vtkMRMLStorageNode::ReadData: Failed to read node ct (vtkMRMLVectorVolumeNode2) from filename=‘C:/Totalsegmentator\_dataset/s0000/ct.nii.gz’  
[VTK] vtkMRMLVolumeArchetypeStorageNode::ReadDataInternal: Cannot read file as a volume of type Volume [fullName = C:/Totalsegmentator\_dataset/s0000/ct.nii.gz]: FileFormatError. Number of files listed in the node = 0. File reader says it was able to read 1 files. File reader used the archetype file name of C:/Totalsegmentator\_dataset/s0000/ct.nii.gz [reader 0th file name = C:/Totalsegmentator\_dataset/s0000/ct.nii.gz].  
[VTK] vtkMRMLStorageNode::ReadData: Failed to read node ct (vtkMRMLScalarVolumeNode1) from filename=‘Totalsegmentator\_dataset/s0000/ct.nii.gz’  
[Qt] void \_\_cdecl qSlicerIOManager::showLoadNodesResultDialog(bool,class vtkMRMLMessageCollection \*) Errors occurred while loading nodes: “Error: Loading C:/Totalsegmentator\_dataset/s0000/ct.nii.gz - load failed.\n”” I tried the volume, segmentation, and transform options, but they’re not helping. There are 1205 files in the total segmentator dataset, but I cannot open 131 of them. Thanks in advice
