AnsweredAssumed Answered

UCCE: Finesse User Sign - API Authorization Error

Question asked by rdediana on Jan 19, 2017
Latest reply on Jan 19, 2017 by rdediana

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

Outcomes