07-19-2019 10:13 PM
HI,
I'm getting below while running non gadget sample , would you please advise
jabberwerx.js:5581 POST https://hq-uccx.abc.inc:8445/http-bind 404 (Not Found)
jabberwerx.js:5581 XHR failed loading: POST "https://hq-uccx.abc.inc:8445/http-bind".
jabberwerx.js:8035 closed: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>
jquery-1.9.1.min.js:2970 PUT https://hq-uccx.abc.inc:8445/finesse/api/User/Agent002 401 (Unauthorized)
jquery-1.9.1.min.js:2970 XHR failed loading: PUT "https://hq-uccx.abc.inc:8445/finesse/api/User/Agent002".
Solved! Go to Solution.
07-22-2019 10:57 AM
07-22-2019 10:57 AM
07-23-2019 08:03 AM
thanks for your reply, there is another issue about authentication , i think it needs token, would you please advise
PUT https://hq-uccx.abc.inc:8445/finesse/api/User/Agent002 401 (Unauthorized)
07-23-2019 10:09 AM
Are you passing in the username of Agent002 with the right password ciscopsdt in the form? Finesse uses basic auth so it is username:password combo.
Thanx,
Denise
07-25-2019 11:47 AM
We have solved the problem by changing port problematically inside jabberwerx library to be 7443 instead of 8445. so the bind completed successfully , but we are not able to login getting below response
[1564080142079] [MYEVENT] <Update>
<data>
<apiErrors>
<apiError>
<errorData>0</errorData>
<errorMessage>CF_GENERIC_UNSPECIFIED</errorMessage>
<errorType>Generic Unable To Login</errorType>
</apiError>
</apiErrors>
</data>
<event>put</event>
<requestId></requestId>
<source>/finesse/api/User/Agent002</source>
</Update>
07-25-2019 01:17 PM
Hi,
Unfortunately, the error message isn't too helpful.
1) Check to see if the issue is the API request vs an issue on the server. Use postman or some sort of REST API tool with Adium/Pidgin to make the request manually. https://developer.cisco.com/docs/finesse/#!usersign-in-to-finesse
2) If #1 is giving the same error, take a look at the Finesse webservices logs to see why there is an error.
Thanx,
Denise
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: