Title: API Request Denied when saving
Last modified: February 8, 2019

---

# API Request Denied when saving

 *  [sybrenjanssen](https://wordpress.org/support/users/sybrenjanssen/)
 * (@sybrenjanssen)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-request-denied-when-saving/)
 * Hi,
 * All of a sudden we cannot properly add new store locations. Whenever we try to
   save, we get the following error (partially in Dutch):
 * Er is een probleem met Google Geocoding API – REQUEST_DENIED.
 * Foutmelding: This IP, site or mobile application is not authorized to use this
   API key. Request received from IP address 2a03:3c00:a002:198::1, with referer:
   [https://maps.googleapis.com/maps/api/geocode/json?address=Sint+Franciscusweg+36-3%2CHeerlen%2C6417BD%2CNederland&language=nl&region=nl&key=AIzaSyCNJxWWpMVmaw8M7-hjhvKiVmWl8oMyHl4&libraries=places&AIzaSyAZN-rEoSgNUv7MPA9w_SgyWpZO_CE8MeQ](https://maps.googleapis.com/maps/api/geocode/json?address=Sint+Franciscusweg+36-3%2CHeerlen%2C6417BD%2CNederland&language=nl&region=nl&key=AIzaSyCNJxWWpMVmaw8M7-hjhvKiVmWl8oMyHl4&libraries=places&AIzaSyAZN-rEoSgNUv7MPA9w_SgyWpZO_CE8MeQ).
 * Controleer of het IP adres dat vermeld is in de foutmelding ook is opgegeven 
   als de referrer voor de server API key in de Google API Console.
 * We can save the location manually, but it will not be shown in the overview.
 * We didn’t change our settings, neither in WordPress or in Google. Our IP address
   is also still the same. I also checked Google to see if there were any API restrictions
   set, but this was not the case. Do you have any idea how we can fix this? Thanks
   in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapi-request-denied-when-saving%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-request-denied-when-saving/#post-11186420)
 * Can you make sure this ‘2a03:3c00:a002:198::1’ is actually the same value that’s
   set here in the [Google API Console](https://wpstorelocator.co/wp-content/uploads/2016/10/google-server-key-ip.gif)?
 *  Thread Starter [sybrenjanssen](https://wordpress.org/support/users/sybrenjanssen/)
 * (@sybrenjanssen)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-request-denied-when-saving/#post-11195614)
 * Hi Tijmen,
 * I’ve added the IPv4 address (141.138.168.154) in the API Console. To be sure,
   I also added the IPv6 address mentioned above. However, the issue still persists.
   
   The error message ia gone on the settings page where it was also being shown 
   before. The error is still being shown on the single store page.

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

The topic ‘API Request Denied when saving’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [sybrenjanssen](https://wordpress.org/support/users/sybrenjanssen/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/api-request-denied-when-saving/#post-11195614)
 * Status: not resolved