I am seeing "Invalid Domain" failures when trying to retrieve CustomerId via 
the provisioning API and using OAuth authentication. The same code works 
fine with ClientLogin:

"gam print orgs" with OAuth:

send: 'GET https://apps-apis.google.com/a/feeds/customer/2.0/custome
rId HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 
apps-apis.google.com\r\nConte
nt-Type: application/atom+xml\r\nAuthorization: OAuth realm="", 
oauth_nonce="002
60136", oauth_timestamp="1316703279", oauth_consumer_key="xxx", 
oauth_signature_method="HMAC-SHA1", oauth_version="1.0", oau
th_token="xxx", oauth_signature="xxx"\r\nUser-Agent: Google Apps Manager 
1.9.1 / jay0le
[email protected] (Jay Lee) / Python 2.7.2 final / Windows-7-6.1.7601-SP1 AMD64 / 
GDat
a-Python 2.0.14+20110902+custom_mods\r\n\r\n'
reply: 'HTTP/1.1 403 Invalid domain.\r\n'
header: Content-Type: text/html; charset=UTF-8
header: Date: Thu, 22 Sep 2011 14:54:43 GMT
header: Expires: Thu, 22 Sep 2011 14:54:43 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

"gam print orgs" with ClientLogin:

e domain)...send: 'GET 
https://apps-apis.google.com/a/feeds/customer/2.0/custome
rId HTTP/1.1\r\nAccept-Encoding: identity\r\nHost: 
apps-apis.google.com\r\nConte
nt-Type: application/atom+xml\r\nAuthorization: GoogleLogin auth=xxx
\r\nUser-Agent: Google Apps Manager 1.9.1 / [email protected] (
Jay Lee) / Python 2.7.2 final / Windows-7-6.1.7601-SP1 AMD64 / GData-Python 
2.0.
14+20110902+custom_mods\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/atom+xml; charset=UTF-8
header: Expires: Thu, 22 Sep 2011 14:57:07 GMT
header: Date: Thu, 22 Sep 2011 14:57:07 GMT
header: Cache-Control: private, max-age=0, must-revalidate, no-transform
header: Vary: Accept, X-GData-Authorization, GData-Version
header: GData-Version: 1.0
header: Last-Modified: Thu, 22 Sep 2011 14:57:07 GMT
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

this code was working up until 11pm last night. I'm seeing this issue across 
multiple Google Apps instances and using Google Apps Directory Sync Tool 
also.

I suspect this is a Google Server side issue...

Jay

-- 
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/-/flxuGcd54jUJ.
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