true allergy tends to be to a protein so I would suspect the lentils if he has had an allergic reaction.

Especially if you've had the other ingredients at home before with no allergic reaction.