Why am I getting a validation error even though the import is successful?

Ensure that the Source Column Headers field in Import Management is correctly mapped to Attribute Display name. Also, if you have any custom fields in the input file, remove them and try to validate the data again to check if any custom fields are causing the issue.