Need help unpaking a .pak file

So I’m trying to extract a pak file, I have the correct key and engine version but I am stumped.
I’ve used this command:

"C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\Win64\UnrealPak.exe" pakchunk0-Windows_0_P.pak -cryptokeys=Crypto.json -Extract C:\Temp >C:\Temp\outputextract.txt

This is what I get as Output:

LogPakFile: Display: Parsing crypto keys from a crypto key cache file
LogWindows: Error: appError called: Assertion failed: SerializeNum >= 0 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 1253] 


LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Assertion failed: SerializeNum >= 0 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 1253] 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff85b8302a9 UnrealPak-PakFileUtilities.dll!operator<<() []
LogWindows: Error: [Callstack] 0x00007ff85b862239 UnrealPak-PakFileUtilities.dll!FPakEntry::Serialize() []
LogWindows: Error: [Callstack] 0x00007ff85b8483ed UnrealPak-PakFileUtilities.dll!ExtractFilesFromPak() []
LogWindows: Error: [Callstack] 0x00007ff85b843bce UnrealPak-PakFileUtilities.dll!ExecuteUnrealPak() []
LogWindows: Error: [Callstack] 0x00007ff7da15be27 UnrealPak.exe!wmain() []
LogWindows: Error: [Callstack] 0x00007ff7da15ce2c UnrealPak.exe!__scrt_common_main_seh() []
LogWindows: Error: [Callstack] 0x00007ff884fa7614 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff885c026b1 ntdll.dll!UnknownFunction []
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 

I am extremely stumped and don’t know what to do to extract. Anyone can help?