What if my dependent claimed himself?

He is 16 and filed claiming himself but then did an amendment saying his parent will claim him. But this seems to be causing my return where I claim him as a dependent to be rejected. How do I solve this so I claim him and get the full child tax credit for him?