With guest keys, the error often occurs with bookings where more than one key is issued. If each of the required keys is created as a new check-in or replacement key instead of a duplicate of the first key, only the last key issued will work.
To rectify the error, it is sufficient to reissue the guest keys correctly.