Error Codes
Event callback interfaces use HTTP status codes to indicate whether an operation succeeded or failed. The enterprise application callback service should return the following error codes and error prompts, and IDaaS saves the returned error codes and error information in the application synchronization records.
| Return Code (code) | Description |
|---|---|
| 200 | success |
| 400 | -Parameter XX already exists, e.g., parameter userName already exists. -Parameter XX cannot be empty, e.g., parameter id cannot be empty. -Parameter XX exceeds the specified length, e.g., parameter name exceeds the specified length. -Parameter XX format is invalid, e.g., parameter email format is invalid. |
| 401 | Interface authentication failed |
| 404 | -User does not exist. -Organization does not exist. |
| 500 | System busy, please try again later. |