ITM6 - KUICCS007E: The situation was not created because the import file specified is incorrect.

iKnow-IT banner

If you try to import a custom situation like:

# tacmd createsit -i <custom situation>.sit 

and you got the following the following message: 

KUICCS007E: The situation was not created because the import file specified is incorrect. 
The file you specified from which to import situation definitions has incorrect data or the file does not exist. 
Verify the import file name and that it contains correct data and try to create the situation again. 

The chance is big that you import a situation that's created on another environment.

Check the available event destination ID on the server, with:
# tacmd listEventDest 
Server Id Server Name          Server Type 
0         Default EIF Receiver TEC 

in the above example we have "0" as server id as event destination.

in the situation where we have the error during import, you can see "TDST=0,3"

# tail <custom situation>.sit 

<REFLEXOK> 
</REFLEXOK> 
<SITINFO> 
<![CDATA[COUNT=3;TFWD=Y;SEV=Warning;TDST=0,3;~;]]> 
</SITINFO> 
<SOURCE> 
</SOURCE> 
</ROW> 
</TABLE> 

Edit the exported situation file and chance the "TDST" value into the value you've got with the command "tacmd listEventDest"

# vi <custom situation>.sit 
.....
</PRNAMES> 
<REFLEXOK> 
</REFLEXOK> 
<SITINFO> 
<![CDATA[COUNT=3;TFWD=Y;SEV=Warning;TDST=0;~;]]> 
</SITINFO> 
<SOURCE> 
</SOURCE> 
</ROW> 
</TABLE>

Try to import again. The change is big that it's solved now.