The following is a list of SAP error codes mapped to HTTP error codes. SAP error codes which are not listed map by default to HTTP error code 500.
Constant | Description | HTTP Error Code |
---|---|---|
JCO_ERROR_COMMUNICATION | Exception caused by network problems, such as connection breakdowns, gateway problems, or inavailability of the remote SAP system. | 503 |
JCO_ERROR_LOGON_FAILURE | Authorization failures during the logon phase usually caused by unknown username, wrong password, or invalid certificates. | 401 |
JCO_ERROR_RESOURCE | Indicates that JCO has run out of resources such as connections in a connection pool | 503 |
JCO_ERROR_STATE_BUSY | The remote SAP system is busy. Try again later | 503 |