cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
760
Views
0
Helpful
0
Replies

Error while escalating chat from Bot to Live agent (ECE)

Hi Team,

I've cloned the node.js code to build Facebook-Google dialflow-ECE application from the github (https://github.com/fkicenko/ConnectedAI_fb-chat-bot) and configured the required settings.

I've set up the application using local server where i can reach my ECE server and i've used ngrok to connect my application to Facebook.
Request is coming from FB and the response is going back from Google dialog flow. Whenever i tried to trigger the escalateIt() function. I'm getting the below error.

#######################################################

LOG: 0 MESSAGE: _throttledRequestHandler called with 1 requests
LOG: 0 MESSAGE: request id 1.0 posting
LOG: 0 MESSAGE: request id 1.0 state changed to 1
LOG: 0 MESSAGE: request id 1.0 state changed to 1
LOG: 0 MESSAGE: request id 1.1 state changed to 2
LOG: 0 MESSAGE: request id 1.1 state changed to 3
LOG: 0 MESSAGE: request id 1.1 state changed to 4
LOG: 0 MESSAGE: removing request
LOG: 0 MESSAGE: _throttledRequestHandler called with 0 requests
LOG: 0 MESSAGE: request id 1 should now be removed
LOG: 0 MESSAGE: request id 1.1 got 200
LOG: 1 MESSAGE: _connect_cb was called
LOG: 3 MESSAGE: invalid response received
LOG: 3 MESSAGE: responseText: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<body condition="bad-request" type="terminate" xmlns="http://jabber.org/protocol/httpbind" xmlns:ns5="http://jabber.org/protocol/httpbind" xmlns:ns2="http://bindings.egain.com/chat" xmlns:ns4="urn:ietf:params:xml:ns:xmpp-stanzas" xmlns:ns3="jabber:client"/>

LOG: 3 MESSAGE: responseXML: null
newwwwww Oops! Something went wrong
Oops! Something went wrong

###############################################

 

Can some one suggest me how to proceed further. And also please let me if someone have already wrote server side ECE Integration code on( like python)

 

Thanks in advance.

@ECE  ECE branch no matches 

0 Replies 0