I have working code that moves a user into a sub-organizaton, usingouclient.UpdateOrgUser(customer_id, newlogin, org_unit_path)
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.