HTTP Error Codes

Unwired Server examines the EIS code received in a server response message and maps it to a logical HTTP error code, if a corresponding error code exists. If no corresponding code exists, the 500 code is assigned to signify either a Sybase Unwired Platform internal error, or an unrecognized EIS error. The EIS code and HTTP error code values are stored in log records.

These tables list recoverable and unrecoverable error codes. All error codes that are not explicitly considered recoverable are considered unrecoverable.

Recoverable Error Codes
Error Code Probable Cause
409 Backend EIS is deadlocked.
503 Backend EIS is down, or the connection is terminated.
Unrecoverable Error Codes
Error Code Probable Cause Manual Recovery Action
401 Backend EIS credentials wrong. Change the connection information, or backend user password.
403 User authorization failed on Unwired Server due to role constraints (applicable only for MBS). N/A
404 Resource (table/Web service/BAPI) not found on backend EIS. Restore the EIS configuration.
405 Invalid license for the client (applicable only for MBS). N/A
412 Backend EIS threw a constraint exception. Delete the conflicting entry in the EIS.
500 Sybase Unwired Platform internal error in modifying the CDB cache. N/A

Error code 401 is not treated as a simple recoverable error. If the SupThrowCredentialRequestOn401Error context variable is set to true (the default), error code 401 throws a CredentialRequestException, which sends a credential request notification to the user's inbox. You can change this behavior by modifying the value of the SupThrowCredentialRequestOn401Error context variable in Sybase Control Center. If SupThrowCredentialRequestOn401Error is set to false, error code 401 is treated as a normal recoverable exception.