We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

IChatSession.SetAgentStatus Method Invalid operation

Received Response
5
Views
2
Comments
edited Feb 3, 2017 1:19PM in UI Extensibility 2 comments

Content

Hi all,

When setting chat agent status to available i am receiving an Invalid operation exception and Error message is "StatusType is LoggingOn, StatusId is 0" any one have any idea.

Code Snippet

             ChatSession.Login(true);
ChatSession.SetAgentStatus(ChatActivityState.AVAILABLE, 22); 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!