Mapping of EIS Codes to Logical HTTP Error Codes

A list of SAP® error codes mapped to HTTP error codes. By default, SAP error codes that are not listed map to HTTP error code 500.

Note: These JCO error codes are not applicable for DOE-based applications.
Mapping of SAP Error Codes to HTTP Error Codes
Constant Description HTTP Error Code
JCO_ERROR_COMMUNICATION Exception caused by network problems, such as connection breakdowns, gateway problems, or unavailability of the remote SAP system. 503
JCO_ERROR_LOGON_FAILURE Authorization failures during login. Usually caused by unknown user name, 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