Title: API server rejected your request. The &quot;sensor&quot; parameter
Last modified: August 20, 2016

---

# API server rejected your request. The "sensor" parameter

 *  [ZeldaW](https://wordpress.org/support/users/zeldaw/)
 * (@zeldaw)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/api-server-rejected-your-request-the-sensor-parameter/)
 * I’m having the following error in both Firefox and Explorer (not Chrome)
 * **Error**
 * The Google Maps API server rejected your request. The “sensor”
    parameter specified
   in the request must be set to either “true” or “false”.
 * **Suggested script on forums:**
 * <script type=”text/javascript” src=”maps.google.com/maps/api/js?sensor=false”
   >
 * **And yet sensor seems to have been defined:**
 * function wpgmappity_load_theme_scripts() {
 *  wp_enqueue_script( ‘jquery’ );
    $gmap_url = ‘[http://maps.google.com/maps/api/js?sensor=false&#8217](http://maps.google.com/maps/api/js?sensor=false&#8217);;
   wp_enqueue_script( ‘gmap_loader’, $gmap_url ); }
 * **Any idea?
    The matter is pretty urgent. Thanks.
 * [http://wordpress.org/extend/plugins/wp-gmappity-easy-google-maps/](http://wordpress.org/extend/plugins/wp-gmappity-easy-google-maps/)

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

 *  Thread Starter [ZeldaW](https://wordpress.org/support/users/zeldaw/)
 * (@zeldaw)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/api-server-rejected-your-request-the-sensor-parameter/#post-3633781)
 * For those having the same pb with Google maps, check here: [http://wordpress.org/support/topic/plugin-better-wp-security-google-maps-api](http://wordpress.org/support/topic/plugin-better-wp-security-google-maps-api)
   
   There seems to be an incompatibility with Better WP security plugin.
 *  [payetteforward](https://wordpress.org/support/users/payetteforward/)
 * (@payetteforward)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/api-server-rejected-your-request-the-sensor-parameter/#post-3634007)
 * For me, the problem had to do with extra line breaks that were inserted in the
   code when I copied and pasted an example from Google’s website.
 * This line was the problem:
 * `<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?
   key=YOUR_KEY_HERE&sensor=false">`
 * Make sure to squeeze everything right together, nice and neat, or it won’t parse
   the code correctly.

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

The topic ‘API server rejected your request. The "sensor" parameter’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gmappity-easy-google-maps.svg)
 * [Google Maps made Simple](https://wordpress.org/plugins/wp-gmappity-easy-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gmappity-easy-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gmappity-easy-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gmappity-easy-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gmappity-easy-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gmappity-easy-google-maps/reviews/)

## Tags

 * [true](https://wordpress.org/support/topic-tag/true/)

 * 2 replies
 * 2 participants
 * Last reply from: [payetteforward](https://wordpress.org/support/users/payetteforward/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/api-server-rejected-your-request-the-sensor-parameter/#post-3634007)
 * Status: not resolved