Error exporting Images and Structures in DICOM format

Hi, this message error appears when I am trying to export the Images and Structures to DICOM format using DicomRtImportExportPlugin.

What could be the problem? is there something I can do?

Thanks in advance.

I found a solution. If I load the “nrrd” file and Dicom images again, then the program allows me to export to DICOM RT-structure fine.