requestFailed Event

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Reports the Communicator Web Access Server has failed to process a request. The event response comes to the client through the data channel as an event response. It contains the diagnostic error information relating to the failure.

Syntax

<requestFailed rid="10" eid= "200">
   <error code="..." warning="..." description="...">
      <sipResponse code="err" warning="..." description="..."/>
      <stackTrace> string value </stackTrace>
   </error>
</requestFailed>

The following sections describe attributes, parent elements, and child elements.

Attributes

Attribute

Data Type

Description

eid

integer

Event Id. This is an integer value assigned by the Communicator Web Access Server. This attribute is present when the requestFailed element is part of a cwaEvents element.

rid

string

Request Id. This is a string value assigned by the Unified Communications client. This attribute is present when the requestFailed element is part of a cwaResponses element. This is a required attribute.

Element Information

Parent Element

Element

Description

cwaEvents

Holds the responses from the asynchronous data channel with which a Unified Communications AJAX API Client polls the server for updates that have taken place.

cwaResponses

Holds the synchronous response to an HTTP POST request carried over through a command channel. It is used to inform the client of the initial status of a request.

Child Elements

Element

Occurrence

Description

error

1

Error codes reported by the Live Communication Server.

Examples

XML example of the event

This example contains the result of a request to create a contact group. The contact group name already exists for the logged on user. The sipResponse error indicates this status.

<cwaEvents pollWaitTime="1000" ackId="17" sid="3">
   <requestFailed eid="17" rid="4">
      <error code="18201" reason="Operation failed" detail="The requested operation failed.">
         <sipResponse code="485" reason="Ambiguous">
            <ms-diagnostics>2015;reason="Duplicate group name";source="contoso.com"</ms-diagnostics>
         </sipResponse>
      </error>
   </requestFailed>
</cwaEvents>

See Also

Concepts

requestAccepted Element