Web service custom authentication error

Hi, I am trying to use custom authentication in one of my web service. I am getting below error while doing test connection - “No configuration found for ‘Test Connection’. Please add at least one operation and try again.”

here are the screenshots from my config

Could you please suggest me fix for this issue.

Hi Himanshu,

The endpoint you have called “Test Connection” has the operation type of Custom Authentication.
You need to either change the operation type to Test Connection or create another endpoint for a test connection operation

1 Like

Hi Himanshu,
You have change the end point name for test connection.



Thanks!!

3 Likes

@KirstenV Thanks Kirsten for your response! I changed the operation type as test connection and it worked fine. Thank you so much.
I will try next activity i.e. getting access token value in account aggregation and create account http operation. If there will be any issue, I will post here.

1 Like

Hi, For my web service, test connection is working fine but I am facing one issue. When I click on Test connection, I see that <entry key="Authorization" value= always showing old value and its not at all getting new access token value.

“Operation”:“TestConfiguration”
“message”:“Dumping Application details :
<entry key="Authorization" value="ZTI5NDUxZWEtOWVkMC00NDA0LThiNmEtNjQ5MjUwZWUwZWI4Ozk4NzE0N0FERUZEOTc2QURBN0REMTM0QzdBRTFFOEM5MTY5R…”

because of this my other http operation i.e. account aggregation is not working because it doesn’t have new Authorization value.

Could you please help me how can I get updated Authorization value.

Message: 401 : Unauthorized, HTTP Error Code: 401

Hi Himanshu,

You need to map the token in the response body to a custom token attribute. That custom token attribute you will need to add to the source through the API.

You can find more info on the steps required for that in the below documentation:
WSC Config for Custom Authentication

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.