GCDS started failing with precondition failure error in logs

alexgrutza
Contributor III

1) is gcds officially supported via Google support? If so, I'll open a case with them

2) The error I receive when trying to add users from AD to Google groups (has been working for several weeks) is below. I am not sure if something changed with the API that is causing this, but there's isn't a prompt for updating gcds as of yet either...

[2024-11-11 12:00:16,600-0600] [pool-18530-thread-1] [ERROR] [plugin.google.ApiaryRetryPolicy] Last encountered exception: com.google.api.client.googleapis.json.GoogleJsonResponseException: 412 Precondition Failed
POST https://admin.googleapis.com/admin/directory/v1/groups/mygroupname@mydomain.edu/members

 

--
CISSP | LinkedIn | @Phyxiis
1 ACCEPTED SOLUTION

alexgrutza
Contributor III

The issue was that 1) it still added people that were new to the group 2) the failures are related to AD accounts existing but the google account not.

Why all of a sudden all these accounts were deleted, not sure something to investigate.

--
CISSP | LinkedIn | @Phyxiis

View solution in original post

6 REPLIES 6

alexgrutza
Contributor III

I even re-authenticated/re-authorized as the Super Administrator account associated with GCDS to make sure it wasn't an unauthorized error, which it appears not to be.

I did open a case with Google support to see what they suggest changed and how to fix it.

--
CISSP | LinkedIn | @Phyxiis

Bill_Gibson
Contributor III

If you're not yet on the latest release, sometimes this resolves sync errors.

I'm on the latest available 5.0.37 according to the "Check for updates" 

--
CISSP | LinkedIn | @Phyxiis

Checks out as the latest
(Cue a new version tomorrow😉)
https://support.google.com/a/answer/1263028?hl=en

HAHA! And of course we only had INFO logging level until I noticed it failing this morning. So who knows how long it's been broken

--
CISSP | LinkedIn | @Phyxiis

alexgrutza
Contributor III

The issue was that 1) it still added people that were new to the group 2) the failures are related to AD accounts existing but the google account not.

Why all of a sudden all these accounts were deleted, not sure something to investigate.

--
CISSP | LinkedIn | @Phyxiis