Anaplan Connect Batch Script Error: "Anaplan API: The Credentials supplied were invalid"
I am trying to set up a certificate to run my batch scripts instead of having my username and password included in the batch scripts. I have confirmed that the batch script works when including my username, and then manually typing in my password; however, when I replace the information with a new certificate that I just created today, I get the following error message:
"Anaplan API: The Credentials supplied were invalid."
In the command prompt window, this error happens right after the following:
Here is the script text I am using in the batch script:
set Operation=-file "Inventory Report - Australia January 2017_FG Detail.csv" -put "C:\Users\jprince\Desktop\anaplan-connect-1-3-3-3\0. Current Batch\Inventory Report - Australia January 2017_FG Detail.csv" ^ -import "** Import Australia Finished Goods" -execute -output "C:\Users\jprince\Desktop\anaplan-connect-1-3-3-3\0. Current Batch\0. Current errors files\Australia Finished Goods Errors.csv"
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
cmd /c %Command%
Is there something wrong with my syntax? Or my certificate?