The most direct way to fix the error is to manually point to your key file using the -k or --keyset argument.
(This is a hidden folder in your Home directory. Press Ctrl+H in your file manager to reveal hidden files.)
%USERPROFILE%\.switch\prod.keys (usually C:\Users\YourName\.switch\ ) Linux/macOS: $HOME/.switch/prod.keys 🔑 How to Get prod.keys
Dump fresh keys from your Switch using the latest Lockpick_RCM. Keys change with each system firmware update.