CloudCherry is now part of Cisco.
Learn More About Cisco

Invitations are not going out/Non-delivery of Invitations

Match your error response type with the below categories:


2.1 API request being rejected (api/dispatchRequest)

The following five scenarios encapsulate probable reasons for the dispatchRequest API to fail. The failures will be associated with some 4XX error codes that would signify that the request has been rejected.

If you are unable to log the response of the API request or unsure as to the reason for failure, it is advisable to follow the remedial steps of all five scenarios as a checklist

Scenario 1

Error Description/Log Message:


role="alert">Dispatch API cannot process the incoming request because the Dispatches are not yet configured in ACM front-end. Please configure this by logging into Account Configuration Module.

Root Cause:

Account Configuration not set-up

Remedy:

Step 1: Log in to the Account Configuration Module (ACM)

Step 2: Select the Dispatch from the dropdown

Step 3: Configure vendor details, notification details and other requisite information for selected Dispatch

Step 4: Save the changes

Adding/Editing a dispatch or adding/editing vendor details for a dispatch requires a restart of the dispatcher component in the Azure Functions or AWS Lambdas. Please see this link for more information on caching, here..

Scenario 2

Error Description/Log Message:


role="alert">Authentication Bearer token in the incoming request header is invalid. Please ensure you are using correct user credentials or a valid Authentication Bearer token.

Root Cause:

Authentication failed

Remedy:

Step 1: Check the credentials being used to authenticate the API request.

Step 2: Ensure the bearer token used is being regenerated every 12 hours to avoid token expiry.

Step 3: Please reach out to support@xm.webex.com for further assistance.

Scenario 3

Error Description/Log Message:


role="alert">“$”“StatusCode: {responseMessage.StatusCode} “” + $”“ResponseMessage: {responseMessage.ToString()} Url: {url}”

-or-


role="alert">HTTP Send failed for HTTPWrapper sendAsync + {Exception}

Root Cause:

Unknown Exception/Error while making API request to WXM

Remedy:

Step 1: For exception, please make a note of the exception and reach out to support@xm.webex.com for assistance.

Scenario 4

Error Description/Log Message:


role="alert">The API cannot process more than 18,000 records in a single request. Please split the batch into multiple requests and try again. Total records received is -

Root Cause:

Max Record size Exceeded

Remedy:

Step 1: Check the properties for creating the Dispatch API request

Step 2: Ensure that no more than 18000 records are added in a single request

Scenario 5

Error Description/Log Message:


role="alert">The API cannot process more than 15 dispatches in a single request. Please ensure dispatch requests are spread out over time. Total dispatches received is

Root Cause:

Max dispatch supported exceeded

Remedy:

Step 1: Check the properties for creating the Dispatch API request

Step 2: Ensure that no more than 15 dispatches are added in a single request

Scenario 6

Error Description/Log Message:


role="alert">Dispatch, Delivery Policy, Questionnaire, Active Questions or Settings not found. Please ensure the dispatch configured on partner hosted side is available in Experience Management.

Root Cause:

WXM API Failed for dispatch/questions/DP/Settings/Questionnaire

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a dispatch associated with an active questionnaire and delivery policy here.


role="alert">If you are still unable to resolve the issue for API requests getting rejected, please reach out to us at support@xm.webex.com

2.2 Invitations not being dispatched/failing to dispatch

A record accepted for processing, due to the following cases, they may be stopped from reaching the Dispatcher or the vendor responsible for end-delivery.

If you are logging the response of the dispatchRequest API, you can use the batchid received in the response to further check for the root cause in the EventLog API.

Scenario 1

Error Description/Log Message:


role="alert">Invalidated as Token ID, Batch ID or Dispatch ID is not available

Root Cause:

Trigger has invalidated the invitation due to failure against Null-Checks

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a dispatch associated with an active questionnaire, delivery policy and token template here.

Step 2: If you have verified that your configurations are correct, please reach out to us at support@xm.webex.com

Scenario 2

Error Description/Log Message:


role="alert">Channel couldn’t be inferred as both email ID and mobile number are available

-or-


role="alert">Channel couldn’t be inferred as both email ID and mobile number are not available

Root Cause:

Trigger has failed to identify invitation’s channel as both email Id and mobile number are attached with the invitation

-or-

Trigger has failed to identify invitation’s channel as both email Id and mobile number aren’t attached with the invitation

Remedy:

Step 1: Log in to your Experience Management account and navigate to CX Setup -> Invitations -> Delivery Policy

Step 2: Select the active Delivery Policy associate with the dispatch request

Step 3: Make a note of the line-up of emails and SMS under Messages & Schedules

Step 4: Ensure your prefill data is passing information relevant to the channels of the messages line-up.

Scenario 3

Error Description/Log Message:


role="alert">Corresponding Dispatch was not found in the Account Configuration Module

-or-


role="alert">Corresponding Dispatch’s Vendor Name is missing from the Account Configuration Module

-or-


role="alert">Corresponding Vendor Details are missing from the Account Configuration Module

Root Cause:

Trigger couldn’t find the vendor details within the AccountConfiguration collection

Remedy:

Step 1: Log in to Account Configuration Module (ACM)

Step 2: Select the Dispatch from the dropdown

Step 3: Configure vendor details, notification details and other requisite information for selected Dispatch

Step 4: Save the changes

Step 5: Adding/Editing a dispatch or adding/editing vendor details for a dispatch requires a restart of the dispatcher component in the Azure Functions or AWS Lambdas. Please see this link for more information on caching, here.

Scenario 4

Error Description/Log Message:


role="alert">Corresponding Vendor implementation object was not found in the serverless compute’s memory

Root Cause:

Time-Trigger has failed to find the vendor implementation object in its runtime

Remedy:

Step 1: To integrate with a new Single-Send Vendor, an object of type ISingleDispatchVendor is required to be added to your Queue-Trigger Serverless Compute’s runtime.

Step 2: Follow further instructions under “3. Vendor Extensibility” of the Scalability and Extensibility topic.

Scenario 5

Error Description/Log Message:


role="alert">Internal Exception + Details about the exception

Root Cause:

Trigger/Time-Trigger has run into an Internal-Exception

Remedy:

Step 1: Please reach out to support@xm.webex.com with the exception details

2.3 Failure of a complete batch of requests

Due to missing information in the Experience Management account or memory cache issues a complete batch of requests can fail, below are the cases due to which this can happen.

If you are logging the response of the dispatchRequest API, you can use the batchid received in the response to further check for the root cause in the EventLog API.

Scenario 1

Error Description/Log Message:


role="alert">Dispatch not found. Please ensure the dispatch configured on partner hosted side is available in Experience Management.

-or-


role="alert">Delivery Policy not found. Please ensure the dispatch configured on partner hosted side is available in Experience Management.

-or-


role="alert">Active Questions not found. Please ensure the dispatch configured on partner hosted side is available in Experience Management.

-or-


role="alert">Settings not found. Please ensure the dispatch configured on partner hosted side is available in Experience Management.

-or-


role="alert">Survey Questionnaire not found. Please ensure the dispatch configured on partner hosted side is available in Experience Management.

Root Cause:

Failed to get details from memory cache or WXM platform

Remedy:

Step 1: Restart the serverless compute or wait for one hour for the cache to refresh.

Step 2: If you have established that it is not a cache issue, then please follow the steps in the following guides to ensure you have created a dispatch associated with an active questionnaire, delivery policy and token template here.

Serverless compute will always be required to restart if there are any changes in vendor configurations or a new dispatch is added. However, Dispatch API can refresh the Experience Management related data in one hour automatically.

Scenario 2

Error Description/Log Message:


role="alert">Getting API details from MemoryCache failed + { Exception }

-or-


role="alert">Exception in DispatchRequest Controller + {Exception}

-or-

role="alert">Exception in ProcessInvitation in DispatchRequest Controller + {Exception}

-or-


role="alert">Exception in CheckDispatchID + {Exception}

-or-


role="alert">Exception in GetChannelFromDP + {Exception}

-or-


role="alert">Exception in CheckDispatchData + {Exception}

Root Cause:

(Respectively to the Error Descriptions above)

Exception getting Dispatch/deliverPlan/Question from cache and If not found from WXM

-or-

Unknown exception within a Batch Request in controller

-or-

Unknown exception while validating the Batch Request

-or-

Exception while validating every dispatch

-or-

Exception validating DP and getting valid channels

-or-

Unknown Exception in overall Dispatch while validation

Remedy:

Step 1: Please reach out to support@xm.webex.com with the exception details for help to address the issue.

Scenario 3

Error Description/Log Message:


role="alert">Queue to batch the records for bulk token creation is not found. Please verify and correct the batching queue type using “extendedProperties” API in Account Configuration Management.

Root Cause:

Internal Queue for batching is missing

Remedy:

Step 1: Dispatch Request makes use of an in-memory queue to batch the bulk API payloads. However, it can be extended to use persistent queues like Azure storage queue or AWS SQS queue, etc. Instructions for Extensibility options for In-memory queue, here.

Step 2: Ensure you are passing “wxm” in the “extendedProperties” API.

Please reach out to support@xm.webex.com for further assistance on extensibility.

2.4 Single or multiple dispatches in a batch being ignored

In a batch of records, if you notice that records of a certain dispatch or multiple dispatches are being skipped while processing, you can address the issue by reviewing the following occurrences. All the occurrences can be traced back to configuration issues on your Experience Management account.

If you are logging the response of the dispatchRequest API, you can use the batchid received in the response to further check for the root cause in the EventLog API.

Scenario 1

Error Description/Log Message:


role="alert">Dispatch passed in the API request is not valid. Please ensure a valid dispatch is configured in Account Configuration Module and same is passed in the API request as well.

Root Cause:

Dispatch id passed is not a valid one created in WXM

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a live Dispatch, here.

Step 2: Update the dispatch details in the ACM. Adding/Editing a dispatch or adding/editing vendor details for a dispatch requires a restart of the dispatcher component in the Azure Functions or AWS Lambdas. Please see this link for more information on caching, here.

Step 3: Ensure that the dispatchRequest API payload is using the correct Dispatch ID.

Scenario 2

Error Description/Log Message:


role="alert">Delivery Policy configured under Dispatch to be used to send invites is paused. Invites will not go out unless this is resolved. Please sign in to Experience Management and un-pause the Delivery Policy. Also note, any changes in Experience Management may take up to an hour to reflect in Dispatch Request API.

Root Cause:

Delivery policy is paused

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a Delivery Policy and it currently is live, here.

Step 2: Ensure that any Dispatch using the Delivery policy is also made active.

A dispatch or delivery policy can be paused manually by the administrator of the Experience Management account. A delivery policy could get paused because of any error that occurred and hence causes the Dispatch to get paused as well. The delivery policy will auto-resume after 4 hours.

There is a possibility where a delivery policy can become inactive on a 20% error rate or 25% exception rate from the day its created. Where errors are occurring, make sure to reach out to support@xm.webex.com if you are unable to resolve them.

Scenario 3

Error Description/Log Message:


role="alert">Unique User Identifier (UUID) configured in Delivery Policy used in Dispatch is not available in the questionnaire. This will impact fatigue rules and invites may go out to customers for multiple surveys. Please ensure the UUID is added as a pre-fill question in the questionnaire.

Root Cause:

UniqueId question missing in Delivery Policy

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a Delivery Policy with UUID set as an active question from an existing questionnaire, here.

Step 2: If you have created a new question as the UUID, make sure the cache for your systems is refreshed to pull the latest version of the questionnaire.

Step 3: Check the payload of the dispatchRequest API to verify that the question id of the UUID prefill matches the one in the questionnaire.

Scenario 4

Error Description/Log Message:


role="alert">An error occurred while using the Delivery Policy configured under Dispatch. Please make sure the Delivery Policy is configured correctly with supported channels.

Root Cause:

Invalid or unsupported channels configured in dispatch

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a Delivery Policy that supports the channels for the dispatch, here.

Step 2: Ensure that the dispatchRequest API is sending the email and mobile number in the correct formats

Scenario 5

Error Description/Log Message:


role="alert">All the records received in the API requests are rejected. Please ensure the channels and UUID are configured correctly in the Delivery policy in Experience Management. Also ensure the Email or SMS values are sent in correct format.

Root Cause:

All records are rejected due to invalid channel or data

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a Delivery Policy with UUID set as an active question from an existing questionnaire, the Delivery Policy supports the channels for the dispatch, here.

Step 2: Ensure that the dispatchRequest API is sending the email and mobile number in the correct formats

Scenario 6

Error Description/Log Message:


role="alert">Dispatch configured to be used to send invites is paused. Invites will not go out unless this is resolved. Please sign in to Experience Management and un-pause the Dispatch. Also note, any changes in Experience Management may take up to an hour to reflect in Dispatch Request API.

Root Cause:

Dispatch is paused

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a live dispatch whose details are updated in the ACM application page as well as passed in the API request, here.

Step 2: Adding/Editing a dispatch or adding/editing vendor details for a dispatch requires a restart of the dispatcher component in the Azure Functions or AWS Lambdas. Please see this link for more information on caching, here.

A dispatch or delivery policy can be paused manually by the administrator of the Experience Management account. A delivery policy could get paused because of any error that occurred and hence causes the Dispatch to get paused as well. The delivery policy will auto-resume after 4 hours.

There is a possibility where a delivery policy can become inactive on a 20% error rate or 25% exception rate from the day its created. Where errors are occurring, make sure to reach out to support@xm.webex.com if you are unable to resolve them.

2.5 Token not created for an accepted record

Invitation requests once accepted are queued for Token creation. For a record, if a token is not created, it will not progress for delivery. The reasons for Token not being generated are below.

If you are logging the response of the dispatchRequest API, you can use the batchid received in the response to further check for the root cause in the EventLog API.

Scenario 1

Error Description/Log Message:


role="alert">Invites were not sent to the following records from the data file: <UUID 01> <UUID 02>…

Root Cause:

Record rejected due to Common Identifier missing

Remedy:

Step 1: Navigate to CX Setup -> Invitations -> Delivery Policy.

Step 2: Make a note of the Common Identifier (UUID) for the selected Delivery Policy.

Step 3: Navigate to CX Setup -> Questionnaire Builder.

Step 4: Select the Questionnaire associated with the Delivery Policy.

Step 5: Ensure the UUID belongs to the questionnaire as an active question and make a note of the Question ID from the Question Settings tab on the right-hand side.

Step 6: Check the request body of the dispatchRequest API to validate the UUID prefill is being passed with the correct Question ID.

Scenario 2

Error Description/Log Message:


role="alert">Invites were not sent for some records with missing email or mobile number. Please check the data file for missing data for more details.

Root Cause:

Record Rejected due to Invalid or missing Email or Mobile number

Remedy:

Step 1: Navigate to CX Setup -> Invitations -> Delivery Policy.

Step 2: Make a note of the channels for the selected Delivery Policy.

Step 3: Navigate to CX Setup -> Questionnaire Builder.

Step 4: Select the Questionnaire associated with the Delivery Policy.

Step 5: Ensure the Email and Mobile prefill question is present in the questionnaire as an active question and make a note of the Question ID from the Question Settings tab on the right-hand side.

Step 6: Check the request body of the dispatchRequest API to validate the email and mobile prefill is being passed with the correct Question ID.

Step 7: Also validate that prefill data for mobile number and/or email id is being captured and sent in the correct and accepted format.

Scenario 3

Error Description/Log Message:


role="alert">Invalid or inactive Dispatch requested. Please ensure the Dispatch is configured correctly in Webex Experience Management and is not paused

-or-


role="alert">Invalid or inactive DeliveryPlan. Please ensure the DeliveryPlan is configured correctly in Webex Experience Management and is not paused

-or-


role="alert">Invalid Token Template attached to Dispatch. Please ensure the Token Template is configured correctly and added to Dispatch.

-or-


role="alert">Invalid Message Template configured in Dispatch. Please ensure Message Template is configured correctly and added to valid channels against each Message.

-or-


role="alert">Request to send invites failed due to an error. Please check the configuration for Delivery Policy, Token Template, Message Templates and Dispatch in Experience Management.

Root Cause:

Bulk request failed due to Inactive or Invalid Dispatch

-or-

Bulk request failed due to Inactive or Invalid Delivery Policy

-or-

Bulk request failed due to Invalid token Template

-or-

Bulk request failed due to Invalid content template

Remedy:

Step 1: Please follow the steps in the following guides to ensure you have created a Delivery Policy with UUID set as an active question from an existing questionnaire, the Delivery Policy is live, the Message and Token templates are valid for the dispatch and the correct live dispatch details are updated in the ACM application page as well as passed in the API request, here.

Adding/Editing a dispatch or adding/editing vendor details for a dispatch requires a restart of the dispatcher component in the Azure Functions or AWS Lambdas. Please see this link for more information on caching, here.

A dispatch or delivery policy can be paused manually by the administrator of the Experience Management account. A delivery policy could get paused because of any error that occurred and hence causes the Dispatch to get paused as well. The delivery policy will auto-resume after 4 hours.

There is a possibility where a delivery policy can become inactive on a 20% error rate or 25% exception rate from the day its created. Where errors are occurring, make sure to reach out to support@xm.webex.com if you are unable to resolve them.

Scenario 4

Error Description/Log Message:


role="alert">Bulk Token API failed due to unknown exception + {Exception}

Root Cause:

Exception while generating bulk token creation

Remedy:

Step 1: Please reach out to support@xm.webex.com with the exception details to address the issue.