Why Am I being Rate Limited? I Am Not Exceeding Any Quotas

63 views
Skip to first unread message

rob...@kalosflorida.com

unread,
Jan 8, 2018, 6:04:01 PM1/8/18
to Google Maps JavaScript API v3
I am making 18 requests to the Javascript (client-side) Distance Matrix API over the span of 9 seconds (1 per 500ms). Each request contains 11 elements (1 destination, 11 origins).

That's 2 requests per second, and 22 elements per second. Theoretically I should be able to make ~6-7 requests per scond with that amount of elements and have no issues but even at 2 requests per second and 22 elements per second I am getting a status of "OVER_QUERY_LIMIT". I don't understand this or why it's happening. Can someone please clarify what I am missing?

and...@google.com

unread,
May 23, 2018, 10:58:48 AM5/23/18
to [deprecated] Google Maps JavaScript API v3. Please use the latest post.
The Distance Matrix quota is measured in elements per second, not in requests per second.


Please note that this Google Group will be deprecated by end of May 2018. Please use the alternative methods laid out in the header if you still need assistance.

Thanks for your understanding.
 
Reply all
Reply to author
Forward
0 new messages