Taking place in a sci-fi universe during a massive conflict. In this universe, however, robots are a major industry, so it would make sense that the government would specially create robots for this massive conflict. However, it is necessary to the story's plot that this does not happen and human soldiers are the main force.
So without looking too far into the conflict itself, what are some logical reasons why humans would be trained in this army instead of robots?