Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

"Unauthorized" when trying to access Enhanced Connector Framework

flegare
Regular Contributor III
Regular Contributor III

Following the instructions to setup SFTPFileTransfer from Configuring the Integration for File Transfer (saviyntcloud.com).

When creating the new connection type, I am getting a 401 Unauthorized error message back.

Logs indicate:
"Service Name","Date Timestamp (UTC)","Message"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:21.874705587Z stdout F 2023-06-16 19:49:21,874 [http-nio-8080-exec-118] DEBUG connectorms.ConnectorMsHelperService - Checking ConnectorMs isReady "
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:21.874737187Z stdout F 2023-06-16 19:49:21,874 [http-nio-8080-exec-118] DEBUG connectorms.ConnectorMsHelperService - Checking ConnectorMs isAvailable "
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:21.878143992Z stdout F 2023-06-16 19:49:21,878 [http-nio-8080-exec-118] DEBUG connectorms.ConnectorMsHelperService - ConnectorMs is Configured true"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:21.878162092Z stdout F 2023-06-16 19:49:21,878 [http-nio-8080-exec-118] DEBUG connectorms.ConnectorMsHelperService - ConnectorMs Available =true"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:21.878167192Z stdout F 2023-06-16 19:49:21,878 [http-nio-8080-exec-118] DEBUG connectorms.ConnectorMsHelperService - MSCredentials already loaded."
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:21.878170092Z stdout F 2023-06-16 19:49:21,878 [http-nio-8080-exec-118] DEBUG connectorms.ConnectorMsHelperService - GENERATE TOKEN username:admin password *****"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:21.879667794Z stdout F 2023-06-16 19:49:21,879 [http-nio-8080-exec-118] DEBUG connectorms.ConnectorMsHelperService - Login URL=https://[ClientRedacted].saviyntcloud.com/ECMv6/api/auth/login"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030933588Z stdout F 2023-06-16 19:49:22,030 [http-nio-8080-exec-118] ERROR connectorms.ConnectorMsHelperService - 401 Unauthorized"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030958388Z stdout F org.springframework.web.client.HttpClientErrorException: 401 Unauthorized"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030972388Z stdout F at com.saviynt.connectorms.ConnectorMsHelperService.genenrateToken(ConnectorMsHelperService.groovy:98)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030974988Z stdout F at com.saviynt.connectorms.ConnectorMsHelperService.isReady(ConnectorMsHelperService.groovy:153)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030977388Z stdout F at com.saviynt.connectorms.ConnectorMsHelperService.getAllConnector(ConnectorMsHelperService.groovy:182)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030979488Z stdout F at com.saviynt.ecm.utility.domain.EcmConfigController$_closure44.doCall(EcmConfigController.groovy:1767)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030981988Z stdout F at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030983788Z stdout F at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:135)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030986088Z stdout F at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030989788Z stdout F at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030991588Z stdout F at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)"
"ecm","2023-06-16T19:49:22.538+00:00","2023-06-16T19:49:22.030993688Z stdout F at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)"

Freshdesk ticket time or is there anything I can do on my own?

Thanks!!

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

You have issue with credentials 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

flegare
Regular Contributor III
Regular Contributor III

I am guessing those would be the microservices credentials, right?  It would explain why the jobs fail at every execution...  I will have the credentials validated...

Thanks

flegare
Regular Contributor III
Regular Contributor III

MS Credentials updated with appropriate values.  All good at this point...

Thanks!