customtheme worked perfectly until recently

377 views
Skip to first unread message

Eric White

unread,
Mar 1, 2023, 7:40:51 PM3/1/23
to GAM for Google Workspace
I have a script process that creates a set of 8 shared drives and sets permissions and a custom theme.  one for each drive type.

This was working for the 4 months end of 2022.  Then it was not used until Feb 27th.

the custom theme step fails.  headers are still in place in Drive, script wasnt changed.

it give an error.   "ERROR: 400: invalid - Invalid Value"

we are using gam 6.08 on the server,  however I get the same error with the latest install locally.

gam user x...@yy.com.au  update teamdrive teamdriveid aaaxxx  customtheme  1GVNgLwL74jrqfz4Zz1k530V7Ozfopvie
0.000 0.000 1.000

I had to disable the customtheme step to get the process to run.
any ideas much appreciated.

thanks

Kim Nilsson

unread,
Mar 5, 2023, 3:33:57 AM3/5/23
to GAM for Google Workspace
Print your themes to see that it's still valid.

gam show teamdrivethemes

Kim Nilsson

unread,
Mar 5, 2023, 3:55:32 AM3/5/23
to GAM for Google Workspace
Nah, there's something wrong with it.

I get 500 internal error when trying to set customtheme.

ERROR:  JSON: {'error': {'code': 500, 'message': 'Internal Error', 'errors': [{'message': 'Internal Error', 'domain': 'global', 'reason': 'internalError'}]}}
User: MyUser, Shared Drive ID: MySharedDriveID, Update Failed: Internal Error
API calls retry data
  Internal Error: 1/0:00:02

Using built-in themes work fine.


Eric White

unread,
Mar 16, 2023, 7:30:03 PM3/16/23
to GAM for Google Workspace
The issue has been resolved.

Thought I had fixed it by removing the user service.acc@.....   which worked.

but when I put the original code back it works as well, so all good now.   :-)

Cheers.

Ross Scroggs

unread,
Mar 16, 2023, 7:44:16 PM3/16/23
to google-ap...@googlegroups.com
Eric,

This was broken at Google but got fixed a few days ago.

Ross

--
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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/2386c172-2601-467a-b872-c5a20e6f499cn%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages