Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.58 KB

File metadata and controls

44 lines (34 loc) · 1.58 KB
title description ms.date ms.topic author ms.author
Error code reference for Omnichannel for Customer Service | MicrosoftDocs
This topic contains reference information about the error codes and error messages that are returned when using the live chat SDK methods.
04/04/2022
reference
gandhamm
mgandham

Error code reference for Omnichannel for Customer Service

[!INCLUDEcc-use-with-omnichannel]

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
    }
}

See also

Live chat SDK reference
Developer guide

[!INCLUDEfooter-include]