編集

次の方法で共有


Error code reference for Omnichannel for Customer Service

Omnichannel for Customer Service offers a suite of capabilities that extend the power of Dynamics 365 Customer Service Enterprise to enable organizations to instantly connect and engage with their customers across digital messaging channels. An additional license is required to access Omnichannel for Customer Service. For more information, see the Dynamics 365 Customer Service pricing overview and Dynamics 365 Customer Service pricing plan pages.

Here are the error codes and error messages that are returned by the live chat SDK methods.

Error code Error message
1 Custom context provider method execution failed
2 Auth token provider method execution failed
3 Auth token provider didn't provide any token
4 Auth token provider provided invalid token
7 Live chat widget scripts failed to load
8 Auth function cannot be found on webpage

Note

The live chat widget script can fail to load for a number of reasons. One possible reason is the user has disabled access to session and local storage in their browser. The reason will be described in the errorDetail attribute.

Here's a sample errorEvent object that's raised when the context provider method fails to run.

{
    detail: {
        errorCode: 1, // Error code corresponding to the error event
        errorDescription: "Context provider method execution failed" // Description of the error
    }
}

Live chat SDK reference
Developer guide