I handled this by implementing exponential backoff, as described here:

http://googleappsdeveloper.blogspot.com/2011/12/documents-list-api-best-practices.html

John


On Wed, May 16, 2012 at 10:33 AM, Mark Stepp <[email protected]> wrote:
> Has anyone found a solution for the 503 Error?    is there anyway to reset
> the quota?   is there a waiting period before the quota is automatically
> reset?   any information would be great
>
>
> On Tuesday, April 17, 2012 6:04:44 AM UTC-5, John Brayton wrote:
>>
>> I am seeing two different symptoms:
>>
>> 1. Photo requests failing.  As Donald reported, the limit seems to be
>> roughly two requests per second.  When I throttle back my photo
>> requests to two requests per second, I no longer see photo requests
>> failing.
>>
>> 2. I am getting 503 responses to login requests via ClientLogin where
>> I have issued a large number of requests for either the contact list
>> or contact photos.  In one case, the issue is a test account with a
>> large number of contacts.  I have been exercising the Contacts API on
>> this test account extensively in an effort to deal with this problem.
>> However, in another case one of my customers is encountering this with
>> my software.
>>
>> I am eager to work within Google's guidelines, but am frustrated to
>> not know what they are.  Are we limited by number of requests per
>> second, minute, hour, or day?  Or by bytes served per second, minute,
>> hour, or day?  Since Google is not publishing this information, the
>> only way to determine this is by experimenting.  Experimenting only
>> means throwing excessive requests to the Contacts API to see where the
>> API stops serving us.
>>
>> John
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
> 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://code.google.com/apis/contacts/community/forum.html

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
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://code.google.com/apis/contacts/community/forum.html

Reply via email to