Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 710 by
Eduplane...@gmail.com: Trying to change permissions of
file with gdata api
https://code.google.com/p/gdata-python-client/issues/detail?id=710
>>> scope = gdata.docs.Scope(type='default')
>>> role = gdata.docs.Role(value='writer')
>>> acl_entry = gdata.docs.DocumentListAclEntry(scope=scope, role=role)
>>> created_acl_entry = gd_client.Post(acl_entry, entry.GetAclLink().href,
>>> converter=gdata.docs.DocumentListAclEntryFromString)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/virtualenv/sled4/lib/python2.7/site-packages/gdata/service.py",
line 1236, in Post
media_source=media_source, converter=converter)
File "/opt/virtualenv/sled4/lib/python2.7/site-packages/gdata/service.py",
line 1358, in PostOrPut
'reason': server_response.reason, 'body': result_body}
gdata.service.RequestError: {'status': 400, 'body': 'This operation is not
supported in this request version.', 'reason': 'Bad Request'}
is this a version issue?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings