Deductions & credits

If you were an employee then your gross wages should have been entered in box 1 of the W-2 by your employer.  Not having federal or state income taxes withheld in box 2 and box 17 is not relevant for you receiving the child tax credit.

You need to contact your employer and if your W-2 is incorrect  they have to issue a corrected W-2C.