Sounds like it's been installed correctly but the part might be not the exact part you needed.
Or keyless entry has not accepted it and the part is correct.
Make sure it's correct.
Do the connection wires if any match with the previous part as that might cause an issue.?