Many official packages require an activation key to run. This key is stored in a small metadata file called a .rap file. Without the corresponding RAP file installed in the console's exdata folder, an official package will throw a licensing error upon launch. What is PSNDL?
These packages are frequently used by the emulation community. For example, users of the RPCS3 PlayStation 3 emulator often use PKG and RAP files to play games on PC, though the emulator developers officially recommend using files dumped from your own physical game copies. yne/psndl: PlayStation Network pkgs - GitHub
Console.Error.WriteLine($"Error (profileResponse.StatusCode): profileResponse.ErrorMessage");