SecureTransport agent exit codes

When an agent run by the Transaction Manager exits the exit code is recorded on the server log at the debug level.

The following table lists the agent exit codes with descriptions, indicates which are reported to Axway Sentinel, and whether a failure state is reported.

Exit Code Name Description Events Reported to
Sentinel
ERROR or FAILED
State
–64 EXIT_GENERAL_FAILURE General failure exit value  
–3 EXIT_NOT_PLAIN Not a plain file

FTP Cmd - CWD
FTP Cmd - DELE
FTP Cmd - LIST
FTP Cmd - MDTM

FTP Cmd - MKD
FTP Cmd - NLST
FTP Cmd - RMD
FTP Cmd - RNFR
FTP Cmd - RNTO
FTP Cmd - RTCK
FTP Cmd - SIZE
Incoming start
Outgoing start

–2 EXIT_NO_SUCH_FILE No such file or directory

FTP Cmd - CWD
FTP Cmd - DELE
FTP Cmd - LIST
FTP Cmd - MDTM

FTP Cmd - MKD
FTP Cmd - NLST
FTP Cmd - RMD
FTP Cmd - RNFR
FTP Cmd - RNTO
FTP Cmd - RTCK
FTP Cmd - SIZE
Incoming end
Incoming start
Outgoing end
Outgoing start

–1 EXIT_PERMISSION_DENIED Permission denied  
0 EXIT_OK Normal termination  
0 EXIT_TRANSFORM_OK The transformation occurred and the output directory contains the resulting files or directories Transformation
0 EXIT_TRANSFER_OK Transfer was successful

HTTP Cmd - POST

Server Transfer - Pull (DXAGENT_SITE_PROTOCOL = cd, folder, ftp, http, ssh, or synchrony transfer)

Server Transfer - Push (DXAGENT_SITE_PROTOCOL = as2, as2mdn, cd, folder, ftp, http, ssh, or synchrony transfer)

1 EXIT_NOT_IMPLEMENTED Command not implemented

FTP Cmd - CHMOD
FTP Cmd - CHPWD
FTP Cmd - CWD
FTP Cmd - DELE

FTP Cmd - LIST
FTP Cmd - MDTM
FTP Cmd - MKD FTP Cmd - NLST
FTP Cmd - NONE
FTP Cmd - PWD
FTP Cmd - RNFR
FTP Cmd - RNTO
FTP Cmd - REST
FTP Cmd - RETR
FTP Cmd - RMD
FTP Cmd - RTCK
FTP Cmd - SIZE
FTP Cmd - STOR
HTTP Cmd - POST

1 EXIT_TRANSFORM_PASSED The input is not modified. It's OK to pass the file for further processing Transformation
1 EXIT_TRANSFER_QUEUED New transfer were queued (wildcard pull)

Server Transfer - Pull

Server Transfer - Pull (DXAGENT_SITE_PROTOCOL = cd, ftp, http, ssh, or synchrony transfer)

Server Transfer - Push (DXAGENT_SITE_PROTOCOL = cd, ftp, http, ssh, or synchrony transfer)

2 EXIT_DEFERRED Command deferred /autoEnrollCheck
FTP Cmd - CHMOD
FTP Cmd - CHPWD
FTP Cmd - CWD
FTP Cmd - DELE
FTP Cmd - LIST
FTP Cmd - MDTM
FTP Cmd - MKD
FTP Cmd - NLIST
FTP Cmd - PWD
FTP Cmd - REST
FTP Cmd - RETR
FTP Cmd - RMD
FTP Cmd - RTCK
FTP Cmd - SIZE
FTP Cmd - STOR
HTTP Cmd - POST
2 EXIT_ACCESS_DENIED Access denied FTP Cmd - RNTO
Password Authentication"
2 EXIT_TRANSFORM_BLOCKED There is a problem with the input and transformation processing should stop Transformation
2 EXIT_MISSING_TRANSFER_CONFIGURATION Transfer agent detected a missing configuration  
3 EXIT_MULTIPLE_USERS Email authentication attempted, but more than one user has the provided email. User Configuration
3 EXIT_TRANSIENT_TRANSFER_FAILURE Transfer Agent failed with a transient failure  
4 EXIT_PERMANENT_TRANSFER_FAILURE Transfer Agent failed with a permanent failure  
5 EXIT_TRANSFORM_FAILED There is a problem during transformation and process should stop Transformation
5 EXIT_TRANSFER_NO_SUCH_FILE The specified remote target does not exist  
6 EXIT_MAX_CONNECTION_PER_HOST_REACHED The maximum connections per host are reached  
7 EXIT_PESIT_TRANSFER_REJECTED PeSIT routing failed Incoming start (with DXAGENT_CLIENT = pesit)
8 EXIT_PESIT_NO_MORE_FILES No more files in the transfer profile Incoming start (with DXAGENT_CLIENT = pesit) 
9 EXIT_PESIT_IDF_MISSING_CONFIGURATION No transfer profile for the account Incoming start (with DXAGENT_CLIENT = pesit) 
10 EXIT_PESIT_IDF_ERROR Bad transfer profile in the account Incoming start (with DXAGENT_CLIENT = pesit) 
11 EXIT_RESUBMIT_CANCEL_FAILED Cancellation of a file transfer resubmit failed Resubmit start
12 EXIT_NO_SUCH_ACCOUNT_FOUND Server-initiated transfer using the REST API for an account that does not exist Server Transfer - Pull (with DXAGENT_IS_API_CALL = 1)
Server Transfer - Push (with DXAGENT_IS_API_CALL = 1)
13 EXIT_NO_SUCH_SITE_FOUND Server-initiated transfer using the REST API for a site that does not exist Server Transfer - Pull (with DXAGENT_IS_API_CALL = 1)
Server Transfer - Push (with DXAGENT_IS_API_CALL = 1)
45 EXIT_RESOURCE_BUSY Resource is currently busy FTP Cmd - RNFR
FTP Cmd - RNTO
–5 EXIT_VIRT_PASSWD_EXPIRED Virtual user password expired Password Authentication
–4 EXIT_REAL_PASSWD_EXPIRED Real user password expired Password Authentication
–3 EXIT_ACCOUNT_ERROR Error retrieving user and password information Password Authentication
–2 EXIT_INVALID_UMASK Invalid umask FTP Cmd - MKD
–2 EXIT_ACCOUNT_EXPIRED Account expired Certificate Verification
Password Authentication
–2 EXIT_PASSWD_POLICY_FAILURE Password policy failure FTP Cmd - CHPWD
–2 EXIT_PASSWORD_POLICY_FAILURE Password policy failure FTP Cmd - CHPWD
–1 EXIT_ACCOUNT_LOCKED Account locked Certificate Verification
Password Authentication
–1 EXIT_PASSWD_VERIFY_FAILURE Password verification failure FTP Cmd - CHPWD
–1 EXIT_OLD_PASSWORD_BAD Old password incorrect FTP Cmd - CHPWD
–1 EXIT_PASSWORD_VERIFICATION_FAILURE Password verification failure FTP Cmd - CHPWD
0 EXIT_CERT_VERIFY_OK_PASSWORD_REQUIRED Certificate verification OK - Password required Certificate Verification
0 EXIT_CERTIFICATE_OK_PASSWORD_NEEDED Certificate agent execution is a success but the user still needs to enter a password Certificate Verification
1 EXIT_UNSUPPORTED_USER_TYPE Unsupported user type User Configuration
1 EXIT_AUTH_FAILED Authentication failed Password Authentication
User Configuration
1 EXIT_CERT_VERIFY_OK_NO_PASSWORD_REQUIRED Certificate verification OK - Password not required Certificate Verification
1 EXIT_CERTIFICATE_OK Certificate agent execution is a success Certificate Verification
1 EXIT_FAILED_READ_TRUSTED_KEYSTORE Agent failed to read the trusted certificate key store Certificate Trust
2 EXIT_NO_SUCH_USER No such user FTP Cmd - CHPWD
User Configuration
2 EXIT_CERTIFICATE_AGENT_FAILURE Generic CertificateAgent Certificate Verification
3 EXIT_NOT_TRUSTED_CERTIFICATE Client certificate does not chain to a trusted root CA Certificate Verification
4 EXIT_FAILED_OPEN_SSL_ALLOW Failed to open the ssl.allow code Certificate Verification
5 EXIT_NO_USER_FOR_CERTIFICATE Client certificate does not match any user Certificate Verification
1002 EXIT_INVALID_INPUT_FORMAT Input format is not supported Certificate Verification
1003 EXIT_FAILED_WRITE_KEYSTORE Failed to write the certificate to the store  
1004 EXIT_INVALID_CERTIFICATE_FORMAT Client certificate cannot be read into a X509Certificate Certificate Verification
1005 EXIT_EXPIRED_CERTIFICATE Client certificate is not yet valid or has expired Certificate Verification

Related Links