Felony conviction, non-qualified school, scholarships outweigh tuition, wrong answer in the program, income limitations and more.
For a complete list of the credits and qualifications, please see the following link to IRS Education credits.