2012-11-16 15 views
5

के लिए स्पष्ट रूप से फर्जी त्रुटि लौट रहा है हम खातों को बनाने के लिए Google पायथन API का उपयोग करते हैं। 13:00 पीएसटी पर 2012/11/08 से, हम इन रुक-रुक कर त्रुटि संदेश प्राप्त करने के लिए शुरू कर दिया है :Google प्रावधान एपीआई खाता निर्माण

errorCode="1301" invalidInput="loginname" reason="EntityDoesNotExist" 

जब हमने Google डैशबोर्ड को, खाते वास्तव में बनाई गई है, लेकिन हमारे खाते के शेष 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] 
+0

त्रुटि संदेश पोस्ट करें। – Mikhail

उत्तर

1

एक ही समस्या के साथ एक और व्यक्ति गूगल के साथ एक टिकट दायर किया था और इस प्रतिक्रिया मिली:

हमें "EntityDoesNotExist" प्रावधान त्रुटि के संबंध में Google एंटरप्राइज़ समर्थन से निम्न अद्यतन प्राप्त हुआ:

It seems that it's the request to retrieve the user that is 
    returning this exception. It's most likely due to a propagation 
    delay in our servers: the user is correctly provisioned but the 
    information isn't propagated quickly enough and the call to 
    retrieve the user is made on a server where the user isn't 
    provisioned yet so you get the error EntityDoesNotExist. 

    As a temporary workaround until additional specialists can 
    resolve the propagation issue, I suggest you ignore the requests 
    that are failing with the error EntityDoesNotExist. I have added 
    your case to an issue report and will be sure to update you with 
    additional updates as they transpire. 
1

मुझे उनकी .NET लाइब्रेरी और Google समर्थन का उपयोग करते समय एक ही समस्या हो रही थी, मुझे क्लाइंट लॉगिन का उपयोग रोकने और OAuth2.0 का उपयोग करने के लिए कहा गया। क्लाइंट लॉगिन बहिष्कृत किया गया है: https://developers.google.com/accounts/docs/AuthForInstalledApps

मैं वर्तमान में ओएथ के साथ कुश्ती कर रहा हूं इसलिए अगर यह बेहतर काम करता है तो मैं रिपोर्ट नहीं कर सकता। हालांकि इस दौरान इस मुद्दे को स्वयं गायब कर दिया गया।

संबंधित मुद्दे