Look in the export_descr_unit.txt file and find out how the unit is listed. That's how it has to be typed in. Some aren't exactly how the unit is called on the card. For instance, my Militia Cavalry as Venice have to be typed in as "Italian Militia Cavalry" when using that cheat. I've taken to using the cheat a lot to counter the bug with recruiting or retraining experienced units. I go to recruit a 4xp unit of Hospitaller knights in Leon, where I have the HQ, and I get a 0 xp unit. Instead of spending money and possibly multiple turns trying to retrain them to get the 4 xp they're supposed to have already, I just create a 4 xp unit via the cheat and disband the 0 xp one. For them, it's "Knights Hospitaller". The numbers (1 0 0 0) are, in order, number of units to create, experience of those units, armor upgrades of those units, and weapon upgrades of those units.