Unreal Game Sync building precomipiled binaries error

I’m trying to sync engine binaries through ugs, I got my command set up to do the build, but after running for a couple of seconds, the automation tool exits with code 1 unknown error.

here’s the command I’m using and the output.

Engine\Build\BatchFiles\RunUAT.bat BuildGraph -Script=Engine/Build/Graph/Examples/BuildEditorAndTools.xml -Target="Submit binaries To Perforce for UGS" -set:EditorTarget=MyGameEditor -set:ArchiveStream=//depot/EngineBinaries -p4 -submit
Running AutomationTool...
Using bundled DotNet SDK version: 8.0.300 win-x64
Starting AutomationTool...
Parsing command line: BuildGraph -Script=Engine/Build/Graph/Examples/BuildEditorAndTools.xml -Target="Submit binaries To Perforce for UGS" -set:EditorTarget=MyGameEditor -set:ArchiveStream=//depot/EngineBinaries -p4 -submit
Initializing script modules...
Building 29 projects...
Build 29 projects time: 3.83 s
AutomationTool encountered an error before a log file was set, see 'C:\MyGame\Engine\Programs\AutomationTool\Saved\Logs\ErrorLog.txt' for more details
AutomationTool executed for 0h 0m 6s
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED

when I check the ErrorLog.txt is has the same thing output from the command line with some extra text for jsons it was writing, but it still doesn’t show any real errors.

I haven’t been able to find any info online about this error, and the editor still runs in rider. Does anyone know what this error could be or how to fix it?