Title: Error retrieving address: OVER_QUERY_LIMIT
Last modified: May 14, 2018

---

# Error retrieving address: OVER_QUERY_LIMIT

 *  Resolved Anonymous User 16148154
 * (@anonymized-16148154)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-retrieving-address-over_query_limit/)
 * Hello,
 * When using your plugin on our website we get a lot of these error logs:
 * `[26-Apr-2018 16:27:25 UTC] FlxMapPlugin::getAddressCoordinates: address: 390
   Forsgate Dr, Monroe Township, NJ 08831, USA; error retrieving address: OVER_QUERY_LIMIT`
 * These show up a few times per day. The API request limit on google is 25k/day,
   it is impossible that we actually reach that. Our monthly peak is 1k visitors/
   day, with an average around 200 visitors/day, of which only a small fraction 
   visits pages that use flexible map.
 * I’m wondering – why does the plugin resolve addresses on the server side at all?
   
   Any help would be much appreciated!
 * Best regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-retrieving-address-over_query_limit%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-retrieving-address-over_query_limit/#post-10289845)
 * G’day,
 * It’s resolving on the server side so that it doesn’t resolve it in the browser
   each time the page is viewed. It should not need to resolve on the server side
   more than once per week. The result is stored in a [transient](https://codex.wordpress.org/Transients_API)
   for a week.
 * If your site is clearing all transients before they expire, you might get this
   problem. That might happen if you have an object cache (memcached / redis / etc.)
   and it’s being used beyond its capacity, and has to dump old objects before they
   expire. It can also happen if you use W3 Total Cache and enable one of its settings(
   something about object caching, which basically borks object caching and especially
   transients).
 * cheers,
    Ross
 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-retrieving-address-over_query_limit/#post-10289969)
 * Actually, my apologies… I think this reflects a change in Google policy about
   API keys. I’m going to have to start sending the API key for all address queries
   by the looks of it. New version coming, maybe this month.
 * cheers,
    Ross
 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-retrieving-address-over_query_limit/#post-10297948)
 * I have added an additional API key setting for server side queries. Please try
   it out:
 * [https://www.dropbox.com/s/3ieytpjrks6gd00/wp-flexible-map-1.14.0-dev.zip?dl=1](https://www.dropbox.com/s/3ieytpjrks6gd00/wp-flexible-map-1.14.0-dev.zip?dl=1)
 * If you don’t set the Server API key, it won’t do server side queries. If you 
   do, it will use that key for server side queries.
 * If your API key has no restrictions, you will be able to use the same key for
   both JavaScript and Server API key.
 * NB: you should have restrictions on your key, otherwise people can copy your 
   key (from the browser) and use it on their website. This means you will need 
   a second key, either unrestricted or restricted by IP address, for the server
   side queries. More doco coming 🙂
 * cheers,
    Ross

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error retrieving address: OVER_QUERY_LIMIT’ is closed to new replies.

 * ![](https://ps.w.org/wp-flexible-map/assets/icon-256x256.png?rev=2590627)
 * [Flexible Map](https://wordpress.org/plugins/wp-flexible-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-flexible-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-flexible-map/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-flexible-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-flexible-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-flexible-map/reviews/)

## Tags

 * [google maps api](https://wordpress.org/support/topic-tag/google-maps-api/)

 * 3 replies
 * 2 participants
 * Last reply from: [webaware](https://wordpress.org/support/users/webaware/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/error-retrieving-address-over_query_limit/#post-10297948)
 * Status: resolved