Hi All,

I have working code that moves a user into a sub-organizaton, 
usingouclient.UpdateOrgUser(customer_id, newlogin, org_unit_path)
where org_unit_path is 'test'.  However, when I try to use that same code 
and specify the parent OU, i.e  domain.edu I get
an error:

raceback (most recent call last):
  File "/tmp/move2berk.py", line 84, in ?
    ouclient.UpdateOrgUser(customer_id, login, 'domain.edu')
  File 
"/home/michele/MYA.gmail/mya/lib/python/gdata/apps/organization/client.py", 
line 418, in update_org_user
    uri=self.MakeOrganizationUnitOrguserProvisioningUri(
  File "/home/michele/MYA.gmail/mya/lib/python/gdata/client.py", line 730, 
in update
    desired_class=entry.__class__, **kwargs)
  File "/home/michele/MYA.gmail/mya/lib/python/gdata/client.py", line 319, 
in request
    RequestError)
RequestError: Server responded with: 400, <?xml version="1.0" 
encoding="UTF-8"?>
<AppsForYourDomainErrors>
  <error errorCode="1301" invalidInput="orgUserOrgUnit" 
reason="EntityDoesNotExist" />
</AppsForYourDomainErrors>

Any help would be much appreciated.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/y9pLeNwyLu8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to