updating user xx...@xxxx.com....\gam.exe : ERROR: 400: Invalid Input: [OrgData] - invalidAt C:\Program Files\GAM\gam-64\update_CourseStatus_DAILY.ps1:5 char:5+ .\gam.exe update user $($entry.Gmail) OrgData.courseEnd $($entry.'Course_End ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (ERROR: 400: Inv...Data] - invalid:String) [], RemoteException+ FullyQualifiedErrorId : NativeCommandError
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9b83a416-2592-48e3-883f-ea4d250de77a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can you show the output of:gam info schema <name>And then the output of an attempt to update a single field for a user?
On Aug 1, 2017 7:06 AM, "Paul Vincent" <paulv...@oca.ac.uk> wrote:
I'm having some trouble with updating our users' custom schemas using GAM. We have the following schema structure:--OrgData.userRegion, OrgData.courseEnd, OrgData.userNumber etc. etc. I'm updating our records from CSV files on Windows server using Powershell scripts. They were working last week, but now I'm just getting errors such as:updating user xx...@xxxx.com....\gam.exe : ERROR: 400: Invalid Input: [OrgData] - invalidAt C:\Program Files\GAM\gam-64\update_CourseStatus_DAILY.ps1:5 char:5+ .\gam.exe update user $($entry.Gmail) OrgData.courseEnd $($entry.'Course_End ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (ERROR: 400: Inv...Data] - invalid:String) [], RemoteException+ FullyQualifiedErrorId : NativeCommandErrorI can't see why this should have suddenly stopped working. The only change I made last week to the schema was to change the parent schema name from StudentData to OrgData, but the scripts were running fine following that change. Has anyone else come across similar issues? I've tried the same command using the Python version and a similar 'invalid input 'OrgData'' error appears. If I try to show the custom schema, I get a Resource Not Found error, but this error doesn't occur with another custom schema and the properties are printed. Anyone encountered similar issues with Custom Schemas?Many thanks,Paul
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9b83a416-2592-48e3-883f-ea4d250de77a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp_PLjJ-zicE%3DYn5SELEOceU5%2B0xz1M8YWfC4oTFdf66qw%40mail.gmail.com.
The following limits apply to custom schemas:
string field is 500._), hyphens (-).To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp_PLjJ-zicE%3DYn5SELEOceU5%2B0xz1M8YWfC4oTFdf66qw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9b83a416-2592-48e3-883f-ea4d250de77a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp_PLjJ-zicE%3DYn5SELEOceU5%2B0xz1M8YWfC4oTFdf66qw%40mail.gmail.com.
--Ross Scroggs--Ross Scroggs