A key sent without first requesting a seed. In a negative response, 7F is the negative response service ID, 27 is the service that was refused (SecurityAccess), and 24 is this code.
When ECUs send it
A request that depends on an earlier one came first, or the earlier one is missing.
SecurityAccess sendKey (27 02) without a requestSeed (27 01) just before it.
TransferData (0x36) without RequestDownload (0x34), or RequestTransferExit (0x37) with no transfer running; asking for routine results before starting it.
What to try
Example: sending a key before requesting a seed, or transfer data before request download.