This appendix lists the error codes you might encounter while installing and configuring a web agent. It also provides explanations for the each code item.
This list of error codes includes locations that are reserved for error codes that do not currently exist.
The operation completed successfully.
The operation did not complete successfully. Please refer to the log file for more details.
The C SDK initialization routine did not complete successfully. All the other APIs may be used only if the initialization went through successfully.
The authentication did not go through successfully. This error is returned either by the Authentication API or the Policy Initialization API, which tries to authenticate itself as a client to OpenSSO Enterprise.
The naming query failed. Please look at the log file for further information.
The session operation did not succeed. The operation may be any of the operations provided by the session API.
The policy operation failed. Details of policy failure may be found in the log file.
Currently, no error code exists at this location.
The API was invoked with one or more invalid parameters. Check the input provided to the function.
Currently, no error code exists at this location.
Currently, no error code exists at this location.
The operation failed because of a memory allocation problem.
The underlying NSPR layer failed. Please check log for further details.
Currently, no error code exists at this location.
The web agent does not have memory allocated to receive data from OpenSSO Enterprise.
The service type input by the user does not exist. This is a more specific version of AM_INVALID_ARGUMENT error code. The error can occur in any of the API that take am_policy_t as a parameter.
Currently, no error code exists at this location.
During communication with OpenSSO Enterprise, there was an error while parsing the incoming XML data.
The session token provided to the API was invalid. The session may have timed out or the token is corrupted.
This exception occurs during policy evaluation, if such an action type does not exist for a given policy decision appropriately found for the resource.
The user is denied access to the resource for the kind of action requested.
There was an HTTP protocol error while contacting OpenSSO Enterprise.
The resource provided by the user is not a fully qualified domain name. This is a web container specific error and may be returned by the am_web_is_access_allowed function only.
The feature being invoked is not implemented as of now. Only the interfaces have been defined.
The Auth context creation failed. This error is thrown by am_auth_create_auth_context.
The service is not initialized. This error is thrown by am_policy functions if the provided service was not initialized previously using am_policy_service_init.
This is a plug-in interface error. Implementors of the new resource format may throw this error if the input string does not meet their specified format. This error is thrown by the am_web layer, if the resource passed as parameter does not follow the standard URL format.
This error is thrown if the notification registration API is invoked when the notification feature is disabled in the configuration file.
Error during notification registration.
This error code indicates that the service that logs messages to OpenSSO Enterprise has failed. The details of this error can be found in the web agent’s log file.