Google Python APIを使用してアカウントを作成します。我々は、GoogleのダッシュボードをチェックするとGoogleプロビジョニングAPIがアカウント作成のための偽のエラーを返すようになります
errorCode="1301" invalidInput="loginname" reason="EntityDoesNotExist"
、アカウントは実際に作成されますが、 私たちのアカウントの残り:午後1時PSTで2012年11月8日に開始し、我々はこれらの断続的なエラーメッセージを取得し始めている Googleが返信するエラーメッセージのために作成タスクが完了していません。
他の誰かがこの問題に気づいていますか?これがなぜ起こっているのか考えていますか?
アカウントプロビジョニングコードは堅牢で、11/8より前に50,000を超えるアカウントを作成しています。ここで
は、コードスニペットです:ここで
r = client.CreateUser(act.localpart, family_name, given_name, password, suspended='false', quota_limit=25600, password_hash_function="SHA-1",change_password=None)
はフルトレースバックです:同じ問題で
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 105, in _run
self.main()
File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 254, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in create_accountgmail
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 348, i expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 376, in s _rwt
retval = dispatch_exception(e, args, kw)
File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 357, in s _rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 365, i <lambda>
mapping, fragment, args, kw)))
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 393, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 72, in try_call
return func(self, *args, **kw)
File "<string>", line 3, in create_accountgmail
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 182, in validate
return errorhandling.run_with_errors(errors, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 115, in run_with_errors
return func(self, *args, **kw)
File "<string>", line 3, in create_accountgmail
File "/usr/lib/python2.4/site-packages/turbogears/identity/conditions.py", line 235, in require
return fn(self, *args, **kwargs)
File "/usr/local/MYA/mya/account_controllers.py", line 1893, in create_accountgmail
raise Exception('Could not create gmail account, %s: %s'%(result, act.format_address()))
Exception: Could not create gmail account, RequestError: Server responded with: 400, <?xml version="1.0" encoding="UTF-8"?>
<AppsForYourDomainErrors>
<error errorCode="1301" invalidInput="LOGIN" reason="EntityDoesNotExist" />
</AppsForYourDomainErrors>: [email protected]
エラーメッセージを投稿してください。 – Mikhail