My 2 Yale YRD-256s (both have a zigbee module - not sure if that makes a difference or not) do not send an event for code entry attempts - just lock/unlock events only. It will specify which code was used for keypad unlock, but if an invalid code is entered, no event is sent.
If yours are like mine, I don't see a way to capture an invalid code.