ERROR: 400: Invalid Input: custom_schema - invalid

877 views
Skip to first unread message

Rohan Yadav

unread,
Mar 7, 2021, 1:25:47 PM3/7/21
to GAM for Google Workspace
Hello Ross,

We're in the process to update some custom schema fields for Mobile, Extension, and landline.

For that, we have run the below command many times, however, they give error 400: Invalid Input.

Can you please help here?

We've tried changing the Info type as Text and Phone but the same error persists.

gam update user rohan...@dev.searce.me UserData.Mobile "7778073808"

Ross Scroggs

unread,
Mar 7, 2021, 1:28:56 PM3/7/21
to google-ap...@googlegroups.com
Rohan,

Show the schema definition, in particular the Mobile, Text and Phone fields
gam info schema UserData

--
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/0c81c964-0b22-405f-baa7-66148b8d465fn%40googlegroups.com.

Rohan Yadav

unread,
Mar 7, 2021, 1:34:22 PM3/7/21
to google-ap...@googlegroups.com
Hello Ross,

Thank you for your prompt response. Please find the output:

E:\gam\gam-29-12-20>gam info schema UserData
Schema: UserData
 schemaId: NaY4e-wJRjKsMkk9xQ4TZQ==
 displayName: UserData
 Field: mobile
  fieldId: kbkuoQA1QMCb-znttY7Ltw==
  fieldType: STRING
  displayName: mobile
  multiValued: False
  readAccessType: ALL_DOMAIN_USERS


Regards,
Profile Photo
Rohan Yadav
Work Transformation Engineer
M: +91-9664660741
Searce Logo  
 
 
We identify better ways of doing things
LinkedIn Facebook Twitter
 

The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Searce is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.



You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/DB5p9-GAFlM/unsubscribe.
To unsubscribe from this group and all its topics, 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/4D3C81AF-0FC6-4DE5-A01E-CCFA06A3B797%40gmail.com.

Ross Scroggs

unread,
Mar 7, 2021, 1:36:38 PM3/7/21
to google-ap...@googlegroups.com
Rohan,

Mobile should be mobile
gam update user rohan...@dev.searce.me UserData.mobile "7778073808"

Ross

Reply all
Reply to author
Forward
0 new messages