cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
1352
Views
15
Helpful
2
Replies
rdediana
Cisco Employee

UCCE: Finesse User Sign - API Authorization Error

Hello.

Using the below Postman configuration, i'm receiving an authorization error while attempting to login the agent via API. i am able to successfully authenticate using the finesse desktop web app using the same agent details (username: agent1 / password: ***** / ext: 1000).

any recommendations on steps to resolve the authn/authz error using the SignIn api would be extremely helpful

URI:

     http://10.3.0.65:8082/finesse/api/User/agent1

Headers:

     Content-Type: application/xml

     Authorization: base64encoding(agent1/------)

Authorization:

     Basic Auth: agent id / password  (agent1 / -------)

Body:

<User>

   <state>LOGIN</state>

   <extension>1000</extension>

</User>

Error:

<ApiErrors>

    <ApiError>

        <ErrorType>Invalid Authorization User Specified</ErrorType>

        <ErrorData>agent1</ErrorData>

        <ErrorMessage>The user specified in the authentication credentials and the uri don't match</ErrorMessage>

    </ApiError>

</ApiErrors>

Screen Shot 2017-01-19 at 5.32.11 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions
dekwan
Cisco Employee

Hi,

Same response as your previous question. Since this is UCCE, it should be using the agentId, so /finesse/api/User/47483650

Thanx,

Denise

View solution in original post

2 REPLIES 2
dekwan
Cisco Employee

Hi,

Same response as your previous question. Since this is UCCE, it should be using the agentId, so /finesse/api/User/47483650

Thanx,

Denise

View solution in original post

Again. Same response to your previous reply.

worked like a charm. TY !

Content for Community-Ad

This widget could not be displayed.