Hi Everyone,
I am currently trying to get past the authentication stage of Anaplan connect using a batch file with java keystore. However I am unable to get past the authentication stage, below is the screenshot of the error:

Was wondering if it was an error on the or my batch file (and not the authentication details)
The sample script (note I tried removing the certificate as mentioned in another post, but it returned the same results):
@Echo off
set KeyStorePath="...jks"
set KeyStorePass="...."
set KeyStoreAlias="...."
set WorkspaceId="...."
set ModelID="..."
set CACertPath= "...crt"
set DumpName=""
set Chunksize=1
set Operation=-debug -service "https://api.anaplan.com" -auth "https://auth.anaplan.com" -workspace %WorkspaceId% -model %ModelId% -chunksize %Chunksize% -file %FileName1% -put %FilePath1% -output %DumpName%
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
set Credentials=-certificate %CACertPath% -keystore %KeyStorePath% -keystorepass %KeyStorePass% -keystorealias %KeyStoreAlias%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@Echo %Command%
cmd /c %Command%
pause
Thanks in advance for your time.