Updated on 2024-12-30 GMT+08:00

Common Return Codes

The event callback API uses HTTP status codes to indicate whether the operation is successful or failed. The callback service of the enterprise application returns the following error codes and messages. OneAccess saves these error codes and messages in the application synchronization record.

Table 1 Common return codes

Return Code

Description

200

Success.

400

  • The XX parameter already exists. For example, the userName parameter already exists.
  • The XX parameter cannot be empty. For example, the id parameter cannot be empty.
  • The length of the XX parameter. For example, the name parameter exceeds the specified length.
  • The format of the XX parameter is incorrect. For example, the format of the email parameter is incorrect.

401

API authentication failed.

404

The XX record does not exist. For example, user not found.

500

System busy. Try again later.