Here’s what’s going on and how to fix it.
hactool --titleid=<titleid> --section0 --exefsdir=exefs your_program.nca the nsp file is missing a programtype nca fixed
hactool --titleid=<titleid> --section0 --exefsdir=exefs your_program.nca