I tried to file and it says I’m not getting the child tax credit. My son is 17. And lives with me full time. His dad doesn’t pay child support and I’m wondering why

I should be getting the earned tax credit for my son. Why didn’t I ?