Any issue with acc CLI when connecting to or downloading from an Adobe Campaign Instance? Find below the common errors and how to fix.

Common errors

At install

  • Check node installation with node --version.
  • Check npm installation with npm --version.
    • Not installed? Follow the previous instructions that installs both node and npm
  • Check acc installation with acc.
    • Not installed? Re-run the installation with npm --loglevel verbose install -g campaign-cli

At login

See acc auth * error codes.

At download

See acc instance * error codes, and the errors of exec, queryDef, soap and info, watch and acc monitor.

acc error codes

All errors are displayed with the format:

[acc:ERROR_CODE] ERROR_MESSAGE

Errors that mention the SOAP traces refer to the acc.log file, see Logs. Set AIO_LOG_LEVEL=debug to also see the queryDefs in the console.

Authentication errors from acc auth

  • AUTH_CONSTR_SDK_MISSING
  • AUTH_INIT_EXISTING_ALIAS
  • AUTH_LOGIN_ALIAS_MISSING
  • AUTH_LOGIN_ALIAS_EMPTY
  • AUTH_LOGIN_ALIAS_INVALID
  • AUTH_LOGIN_SDK_CONNECTIONPARAMETERS_FAILED
  • AUTH_LOGIN_SDK_INIT_FAILED
  • AUTH_LOGIN_SDK_LOGON_FAILED
  • AUTH_LOGIN_SDK_SERVERINFO_FAILED
  • AUTH_LOGIN_SDK_SERVERINFO_EMPTY

Download errors from acc instance

  • CONFIG_CONSTR_DEFAULT_PATH_MISSING
  • CONFIG_INIT_CONFIG_PATH_MISSING