Retirement tax questions

receiving custodian should not have accepted inappropriate funds since contributions are not permitted.
Check must have been correct..