Normally the proper format for the unit would be 4th Regiment, Tennessee Volunteers. However, there has not been a category created for that unit, so that is why you are getting an error. There are not really very many categories created for the Spanish-American War, so I am not sure the Military and War Project wants any created or not.