Anaplan Connect API not found

Hello,

I'm trying to use Anaplan Connect. Everything seems to be OK (Java, authent, proxy). But I have an "API not found" error. It's a simple script listing all processes (It works with Postman)

@echo off
setlocal enabledelayedexpansion

AC_PATH=C:\Users\UBQLZC\Desktop\anaplan_connect_4.2.1\

set AnaplanUser="[email protected]:XXXX"set ServiceUrl="https://api.anaplan.com"
set AuthUrl="https://auth.anaplan.com"
set WorkspaceId="8a868cda85f541150186091ec48e6b27"
set ModelId="E2854D38212E44D9894C1D7207D3C476"
set ProxyUrl="http://localhost:3128/"

set Operation=-debug -service %ServiceUrl% -auth %AuthUrl% -via %ProxyUrl% -V -workspace %WorkspaceId% -model %ModelId% -processes

rem *** End of settings - Do not edit below this line ***

setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command="C:\Users\UBQLZC\Desktop\anaplan_connect_4.2.1\AnaplanClient.bat %Credentials% %Operation%"
@echo %Command%
cmd /c %Command%
pause

Can you help me please ?

Regards

Answers

  • Hi @FaresBouzaiane

    You are not retrieving the proxy in your Set command operation.

    Regards,
    Manjunath

  • Hi ManjunathKN,

    Thanks for your help, can you please tell me how to do that ?

    Regards

  • Please try to put this in set operation command

    set Operation=-debug -service %ServiceUrl% -auth %AuthUrl% -via %ProxyUrl% -workspace %WorkspaceId% -model %ModelId% -processes

    And also what is "3128/"? are you sure it is correct port number?

    Regards,
    Manjunath