I have a customer Go Live on Monday and am having issues with the
Email Settings API via GAM. Below is the debug output (stripped out
client-specific information). Any help is most welcome. If there are
any Googlers watching, I've opened up ticket 02024680 and provided the
domain-specific information.
bmacnamara$ python gam.py user delegator.username delegate to
delegate.username
Giving
delegate...@domain.com delegate access to
delegator...@domain.com (1 of 1)
send: 'POST
https://apps-apis.google.com/a/feeds/emailsettings/2.0/domain.com/delegator.username/delegation
HTTP/1.1\r\nAccept-Encoding: identity\r\nHost:
apps-apis.google.com\r
\nContent-Length: 224\r\nContent-Type: application/atom+xml\r
\nAuthorization: OAuth realm="", oauth_nonce="73200844",
oauth_timestamp="1332588259", oauth_consumer_key="XXXXXXXXXX",
oauth_signature_method="HMAC-SHA1", oauth_version="1.0",
oauth_token="XXXXXXXXXX", oauth_signature="eJyjrH8Jh9HPz7wF0CEp
%2F7%2FQJEw%3D"\r\nUser-Agent: Google Apps Manager 2.3 /
j...@ditoweb.com (Jay Lee) / Python 2.7.1 final / Darwin-11.3.0-x86_64-
i386-64bit x86_64 / GData-Python 2.0.14+20110902+custom_mods\r\n\r\n'
send: '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<ns0:entry
xmlns:ns0="
http://www.w3.org/2005/Atom" xmlns:ns1="http://
schemas.google.com/apps/2006"><ns1:property name="address"
value="
delegate...@domain.com" /></ns0:entry>'
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
header: Content-Type: text/xml
header: Date: Sat, 24 Mar 2012 11:24:19 GMT
header: Expires: Sat, 24 Mar 2012 11:24:19 GMT
header: Cache-Control: private, max-age=0
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
{'status': 500, 'body': '<?xml version="1.0" encoding="UTF-8"?>\r
\n<AppsForYourDomainErrors>\r\n <error errorCode="1000"
invalidInput="" reason="UnknownError" />\r\n</AppsForYourDomainErrors>
\r\n\r\n', 'reason': 'Internal Server Error'}