Adding contact delegates and getting "d Failed: Request contains an invalid argument"

39 views
Skip to first unread message

Gretchen Beck

unread,
Sep 9, 2025, 11:52:12 AMSep 9
to google-ap...@googlegroups.com
Hi Folks,

Just to start off -- I suspect this may be Google related rather than GAM, but wanted to ask here (I see folks have reported this on occasion in the past).

We have an automation that creates mailboxes that are accessed only via delegation.  Last week, the automation started failing when adding contact delegates to the new accounts (it uses the API, and may just call GAM -- not my automation, I just clean up after it).

When I try it with GAM on one of these recently created mailbox, I consistently get this error:
gam user <mailboxid>@andrew.cmu.edu add contactdelegate <validuser> (or <validuser>@andrew.cmu.edu)

User: <mailboxid>@andrew.cmu.edu, Add 1 Delegate

  User: <mailboxid>@andrew.cmu.edu, Contact Delegate: <validuser>@andrew.cmu.edu, Add Failed: Request contains an invalid argument.


BUT gam <mailboxid>@andrew.cmu.edu print contactdelegates works without an error.


I can also use Gam to successfully add contact delegates to existing accounts.


Anyhow, I suspect this is one of those "google's got a bad index out there somewhere" things (hence a support ticket), but wanted to double-check here first for any suggestions. (Plus that will help with some traction for the support ticket, I hope)


Thanks!


Gretchen Beck

Carnegie Mellon University

Al Asmus

unread,
Oct 24, 2025, 5:35:10 PM (6 days ago) Oct 24
to GAM for Google Workspace
Hi all,

Is there a resolution for this? We're also getting "Add Failed: Request contains an invalid argument" when trying to create a contactdelegate.

We're using GAM 7.25.01.

Regards,

Ross Scroggs

unread,
Oct 24, 2025, 6:16:23 PM (6 days ago) Oct 24
to google-ap...@googlegroups.com
Get 7.27.03, then do:

gam config debug_level 1 redirect stdout ./debug.txt <put the rest of the command here>

Send me privately the command and debug.txt.

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/596fe426-82c1-4b40-a6e9-6ff75539b0b4n%40googlegroups.com.

Ross Scroggs

unread,
Oct 24, 2025, 6:22:03 PM (6 days ago) Oct 24
to google-ap...@googlegroups.com
Ross
----
Ross Scroggs


On Oct 24, 2025, at 2:35 PM, 'Al Asmus' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Al Asmus

unread,
Oct 27, 2025, 8:57:07 AM (4 days ago) Oct 27
to GAM for Google Workspace
Hi Ross,

I upgraded to 7.27.04 and it works now.

Thanks!

Reply all
Reply to author
Forward
0 new messages