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

Finesse non gadget sign-in not working

suun24
Beginner
Beginner

Finesse non-gadget sample working fine with Finesse v11.6 however, the same code doesn't work with Finesse v12.0.1.
getting below errors when signed-in (attached console log)
Errors are :
1) jquery-3.2.1.min.js:4 PUT http://localhost:70/finesse/api/User/Agent001 403 (Forbidden)

2) core-sys.js:801 Uncaught TypeError: Cannot read property 'status' of undefined
at _signInHandler (core-sys.js:801)
at Object.error (finessenongadget.js:59)
at i (jquery-3.2.1.min.js:2)
at Object.fireWith [as rejectWith] (jquery-3.2.1.min.js:2)
at A (jquery-3.2.1.min.js:4)
at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js:4)

 

 

Regards,


Sanmesh

9 Replies 9

dekwan
Cisco Employee
Cisco Employee

Hi,

 

The non gadget sample was tested against 12.0 so it should work. I haven't tested it out myself though.

 

Did you manually try to log into the 12.0 system with the same URI and credentials to see if it is successful?

Did you take a look at the Finesse webservices and realm logs to see why you are getting a 403?

 

Thanx,

Denise

Did you manually try to log into the 12.0 system with the same URI and credentials to see if it is successful?

- Yes. It works and gives the XML Response as Sign-out

Access this url: http://localhost:70/finesse/api/User/Agent001 and received an XML Reponse :

<User>
<dialogs>/finesse/api/User/Agent001/Dialogs</dialogs>
<extension/>
<firstName>Jane</firstName>
<lastName>Doe</lastName>
<loginId>Agent001</loginId>
<loginName>Agent001</loginName>
<mediaType>1</mediaType>
<pendingState/>
<reasonCode>
<category>LOGOUT</category>
<code>32766</code>
<forAll>true</forAll>
<id>28</id>
<label>Agent Initiated</label>
<systemCode>true</systemCode>
<uri>/finesse/api/ReasonCode/28</uri>
</reasonCode>
<reasonCodeId>28</reasonCodeId>
<roles>
<role>Agent</role>
<role>Supervisor</role>
</roles>
<settings>
<wrapUpOnIncoming/>
</settings>
<state>LOGOUT</state>
<stateChangeTime>2020-01-22T04:58:41.732Z</stateChangeTime>
<teamId>2</teamId>
<teamName>Team_IT_Tier1</teamName>
<teams>
<Team>
<id>2</id>
<name>Team_IT_Tier1</name>
<uri>/finesse/api/Team/2</uri>
</Team>
</teams>
<uri>/finesse/api/User/Agent001</uri>
<wrapUpTimer>-1</wrapUpTimer>
</User>

Did you take a look at the Finesse webservices and realm logs to see why you are getting a 403?

- Do we need to check these logs on Cisco Finesse Server?

jquery-3.2.1.min.js:4 PUT http://localhost:70/finesse/api/User/Agent001 403 (Forbidden)

 

is the error.

is this problem regarding jquery? Do i need to use latest jquery?