Understanding RightNow Exception Codes

All three fault types, RequestErrorFault, ServerErrorFault and UnexpectedErrorFault extend a basic RNFault, which consists of an ExceptionCode field, which is an enumeration, and an ExceptionMessage, which is a string.

The following RightNow exception codes are defined:

  • ACCESS_DENIED. Returned when a request is made to the service, but the bit to enable Connect is not enabled on the site interface or the account profile for the supplied credentials does not have the public SOAP bit enabled.

  • INVALID_FIELD. Returned when a request is made and a field on an object in the request does not exist or is not accessible for the given request (that is, Setting ID on create).

  • INVALID_LOGIN. Returned when a request is made but the user credentials are invalid; this can be either username or password

  • BAD_ID. Returned when an ID provided in a request is not valid.

  • MISSING_ARGUMENT. Returned when a request is missing a required argument.

  • BAD_ID. Returned when an ID provided in a request is not valid.

  • QUERY_TIMEOUT. Returned on a query request when the specified query times out on the server.

  • UNKNOWN_EXCEPTION. Returned when an unknown and unexpected exception occurs