You'll get this error when there's a dependent age 17 or older who has claimed for the Child Tax Credit on the return. To qualify for the credit, the dependent must be under 17.
Check the birth date, you entered in the personal info section.
You can still claim your child, as a dependent. What you can't claim is the Child tax credit. This comes as a big surprise to many parents the year their child turns 17. A child over age 16 no longer qualifies for the Child Tax credit (CTC). Although a child can still be a student dependent through age 23, and a qualifying child for EIC, the Child Tax Credit expires the year they turn 17 and you no longer get the $2000 CTC. Instead you will get the non-refundable (up to) $500 Other Dependent Credit.