JSON Decode error when trying to sync machines in switchboard.

When trying to sync multiple machines in switchboard all machines fail showing “p.none” as the current change list and the log outputs:

[13:22:39][D]: Node_0: usage: sbl_helper.py [-h] [--log-level LOG_LEVEL] {sync} ...
[13:22:39][D]: Node_0: sbl_helper.py: error: argument --project: unable to parse JSON
13:22:39][D]: Node_0:
[13:22:39][D]: Node_0: Traceback (most recent call last):
[13:22:39][D]: Node_0: File "C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\VirtualProduction\Switchboard\Source\Switchboard\sbl_helper.py", line 966, in check_sync_options
[13:22:39][D]: Node_0: _ = json.load(self.uproj_path.open())
[13:22:39][D]: Node_0: File "C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\ThirdParty\Python3\Win64\lib\json\__init__.py", line 293, in load
[13:22:39][D]: Node_0: return loads(fp.read(),
[13:22:39][D]: Node_0: File "C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\ThirdParty\Python3\Win64\lib\json\__init__.py", line 346, in loads
[13:22:39][D]: Node_0: return _default_decoder.decode(s)
[13:22:39][D]: Node_0: File "C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\ThirdParty\Python3\Win64\lib\json\decoder.py", line 337, in decode
[13:22:39][D]: Node_0: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[13:22:39][D]: Node_0: File "C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\ThirdParty\Python3\Win64\lib\json\decoder.py", line 355, in raw_decode
[13:22:39][D]: Node_0: raise JSONDecodeError("Expecting value", s, err.value) from None
[13:22:39][D]: Node_0: json.decoder.JSONDecodeError: Expecting value: line 21 column 2 (char 277)
[13:22:39][D]: Node_0:

This is in unreal 5.0.3.

The uproject path is set correctly.

-Thanks!

Same problem here, did you resolve it? 5.1 is working fine on our stage and i did install 5.3 on another stage following the same procedure so idk how to fix it.

Sorry I just saw this. Seems like the issue was related to perforce specific settings. Double check that your P4 environment variables are set correctly as well as the typemap. I think my issue ended up being related to this after the machines were re-imaged.