cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2610
Views
15
Helpful
2
Replies

UCCE: Finesse User Sign - API Authorization Error

rdediana
Cisco Employee
Cisco Employee

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
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
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

Again. Same response to your previous reply.

worked like a charm. TY !

Getting Started

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: