When you run a command like hactool -k prod.keys -x game.nca and see the error, it means one of two things:
Below is a comprehensive guide to understanding why this error happens and how to fix it permanently. Understanding the Root Cause
Inside the Lockpick menu, navigate using the volume buttons and select Dump from SysNAND .
Legally, these keys must be dumped from your own Nintendo Switch using a homebrew tool like .