Google Apps Connector recon failed "ConnectorIOException: com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized" (Doc ID 2164376.1)

Last updated on JULY 24, 2016

Applies to:

Identity Manager Connector - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

Installed Google Apps Connector 11.1.1.7.0 successfully and followed the connector guide for the configuration.

GoogleApps Group Lookup Reconciliation fails with the below error.

 

[2016-07-19T15:24:56.707-07:00] [oim_server1] [ERROR] [] [ORG.IDENTITYCONNECTORS.GOOGLEAPPS.OPERATION.GOOGLEAPPSSEARCH] [tid: Thread-114] [userId: oiminternal] [ecid: 0000LO5FmtQFw000jzwkno1NZeUF000004,1:29440] [APP: oim#11.1.2.0.0] org.identityconnectors.googleapps.operation.GoogleAppsSearch : searchGroupsAndReturn : Bad request or Invalid input given

[2016-07-19T15:24:56.709-07:00] [oim_server1] [ERROR] [] [ORACLE.IAM.CONNECTORS.ICFCOMMON.RECON.LOOKUPRECONTASK] [tid: OIMQuartzScheduler_Worker-3] [userId: oiminternal] [ecid: 0000LO5FmtQFw000jzwkno1NZeUF000004,1:29431] [APP: oim#11.1.2.0.0] oracle.iam.connectors.icfcommon.recon.LookupReconTask : execute : Error during execution[[
org.identityconnectors.framework.common.exceptions.ConnectorIOException: com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized
{
"error" : "unauthorized_client",
"error_description" : "Unauthorized client or scope in request."
}
at org.identityconnectors.googleapps.operation.GoogleAppsSearch.searchGroupsAndReturn(GoogleAppsSearch.java:146)
at org.identityconnectors.googleapps.operation.GoogleAppsSearch.searchGroups(GoogleAppsSearch.java:80)
at org.identityconnectors.googleapps.GoogleAppsConnector.executeQuery(GoogleAppsConnector.java:146)
at org.identityconnectors.googleapps.GoogleAppsConnector.executeQuery(GoogleAppsConnector.java:46)
at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:105)
at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:82 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms