Error MSB3073 VS 2022

Hello
This is the error trying to run as Development Server 2022 on VS 2022

Severity Code Description Project File Line Status Deleted
Error MSB3073 The command “E:\UnrealLibrary\UE_5.1\Engine\Build\BatchFiles\Build.bat MyProject4Server Win64 Development -Project=“E:\Unreal Projects\MyProject4\MyProject4.uproject” -WaitMutex -FromMsBuild” exited with the code 6. MyProject4 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

Things I’ve already tried

delete the contents of Binaries, DerivedCacheData, and delete folders from Saved, Intermidiate as well as the sln file also right click Generate Visual Studio files
installing more recent .net versions, restart and recompile, disable and enable live coding, from the editor this only happens in Development Server VS2022 mode, Development Editor VS2022 mode does work correctly, but since I am following the integration with GameLift directly from the documentation, I cannot find the error

this is line 44 from the error microsoft.makefile.targets

same error i need to solve this please