Is there a fix for kids "social security numbers were marked as not valid for employment?" Claimed both with no issues for several years and they both have jobs.

My twins are 17 so don't qualify for Child Tax Credit, but I'm getting a message they also don't qualify for Other Dependents Credit because their numbers aren't valid for employment. I didn't check that box and their Social Security cards also are not marked with that. I tried deleting them both and re-adding as dependents and that didn't work. Can it be fixed? Very frustrating.