0
Answered

GoogleApps errors not showing in FIM

Monash 9 years ago in UNIFYBroker/Google Apps updated by anonymous 8 years ago 1

GoogleApps export errors not showing in FIM

In the error logs

20150829,17:27:09,UNIFY Identity Broker,Google Agent,Error,"Unify.IdentityBroker.Communicator.Google:
System.Exception: A Google API exception was thrown for call Users.Aliases.Insert with message ""Google.Apis.Requests.RequestError
Invalid Input: alias_email [400]
Errors [
	Message[Invalid Input: alias_email] Location[ - ] Reason[invalid] Domain[global]
]
"". See inner exception for details. Processing continued: True. ---> Google.GoogleApiException: Google.Apis.Requests.RequestError
Invalid Input: alias_email [400]
Errors [
	Message[Invalid Input: alias_email] Location[ - ] Reason[invalid] Domain[global]
]
   at Google.Apis.Requests.ClientServiceRequest`1.Execute()
   at Unify.Product.IdentityBroker.GoogleAgent.BackoffRetry[TResult](String logEvent, Boolean primaryCall, Func`1 request, TResult& result, Int32 retries)
   --- End of inner exception stack trace ---
   at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassb6`1.<BackoffRetry>b__ae()
   at Unify.Product.IdentityBroker.GoogleAgent.ThrowIfPrimaryCall(Boolean primaryCall, Action throwException)",Normal
20150829,17:27:09,UNIFY Identity Broker,Connector,Information,"Update entities to connector completed.
Update entities [Count:1] to connector gappsUserConnector reported 1 entities saved. Duration: 00:00:03.8803880",Normal
20150829,17:27:10,UNIFY Identity Broker,Connector,Information,"Request to update entity to connector.
Request to update entities [Count:1] to connector gappsUserConnector.",Normal
20150829,17:27:13,UNIFY Identity Broker,Google Agent,Error,"Unify.IdentityBroker.Communicator.Google:
System.Exception: A Google API exception was thrown for call Users.Aliases.Insert with message ""Google.Apis.Requests.RequestError
Invalid Input: alias_email [400]
Errors [
	Message[Invalid Input: alias_email] Location[ - ] Reason[invalid] Domain[global]
]
"". See inner exception for details. Processing continued: True. ---> Google.GoogleApiException: Google.Apis.Requests.RequestError
Invalid Input: alias_email [400]
Errors [
	Message[Invalid Input: alias_email] Location[ - ] Reason[invalid] Domain[global]
]
   at Google.Apis.Requests.ClientServiceRequest`1.Execute()
   at Unify.Product.IdentityBroker.GoogleAgent.BackoffRetry[TResult](String logEvent, Boolean primaryCall, Func`1 request, TResult& result, Int32 retries)
   --- End of inner exception stack trace ---
   at Unify.Product.IdentityBroker.GoogleAgent.<>c__DisplayClassb6`1.<BackoffRetry>b__ae()
   at Unify.Product.IdentityBroker.GoogleAgent.ThrowIfPrimaryCall(Boolean primaryCall, Action throwException)",Normal
20150829,17:27:13,UNIFY Identity Broker,Connector,Information,"Update entities to connector completed.

In FIM Export

On Import no error of "exported-changes-not-reimported"

Extensions setting

Connector is in Sync mode

Leads me to believe it can be perhaps missing other error messages as well


image-2015-08-30-03-31-18-304.png
image-2015-08-30-03-31-42-382.png
image-2015-08-30-03-32-49-175.png
image-2015-08-30-03-33-51-037.png

Hi Huu Tran,

I've included a fix for this in the v4.1.4 RC4 release. The problem was that there are a number of calls made to perform the operation (add or update), and the connector was logging (and not throwing) more exceptions than it should have. The add has been kept the same (throw the primary call and log the rest) as you'd have to do a connector import then a FIM import to resolve if we let the add fail when it was actually a success. The update has been changed so that any of the calls will let it fail, as there is no problem operationally in doing this.

Thanks.