New home › Forums › Pro Add-on › API issues/errors while importing CSV
- This topic has 8 replies, 3 voices, and was last updated 8 years, 8 months ago by popi.
-
AuthorPosts
-
March 6, 2015 at 6:46 am #11514ckairosMember
I have went through the process of setting everything up properly and referring to your link (http://www.wpgmaps.com/documentation/how-to-generate-a-google-maps-geocoding-api-key/) but am still unable to upload my CSV file as I get this message/error every time:
Unable to get location data for 2814 E. 20th St Farmington, NM
object(stdClass)#120 (3) { [“error_message”]=> string(74) “This IP, site or mobile application is not authorized to use this API key.” [“results”]=> array(0) { } [“status”]=> string(14) “REQUEST_DENIED” } Unable to get location data for 292 Kamehameha Avenue Hilo, HI
object(stdClass)#143 (3) { [“error_message”]=> string(74) “This IP, site or mobile application is not authorized to use this API key.” [“results”]=> array(0) { } [“status”]=> string(14) “REQUEST_DENIED” }Please tell me what I can do to fix this problem.
Thanks.
March 6, 2015 at 9:39 am #11541Nick DuncanKeymasterHi
Please confirm that you are actually doing this on a live site and not localhost? The API will not work on your localhost.March 6, 2015 at 4:38 pm #11554ckairosMemberYes. This is a live site.
March 6, 2015 at 8:15 pm #11556ckairosMemberYes. This is a live site. Please let me know what I can do to resolve this issue. Thanks.
March 9, 2015 at 1:27 pm #11637Nick DuncanKeymasterHi
We have documentation on this topic. Please review the following pages:Exporting and Importing Data
and especially this one:How to Enable the Google Maps Geocoding API in Your API Project
March 9, 2015 at 2:55 pm #11640ckairosMemberThanks but like I said in my original post, I have already referred to your documentations and have set up the API and CSV file correctly… The problem is that I keep getting the errors listed below:
Unable to get location data for 2814 E. 20th St Farmington, NM
object(stdClass)#120 (3) { [“error_message”]=> string(74) “This IP, site or mobile application is not authorized to use this API key.” [“results”]=> array(0) { } [“status”]=> string(14) “REQUEST_DENIED” } Unable to get location data for 292 Kamehameha Avenue Hilo, HI
object(stdClass)#143 (3) { [“error_message”]=> string(74) “This IP, site or mobile application is not authorized to use this API key.” [“results”]=> array(0) { } [“status”]=> string(14) “REQUEST_DENIED” }March 13, 2015 at 10:01 am #11717Nick DuncanKeymasterHi
If your IP address of your website is being denied by the API then you have not added the IP address to the list in the Google API console. Can you provide a screenshot of your API console set up to nick [@] wpgmaps dot com so I can confirm please?March 31, 2015 at 8:58 am #12088popiMemberHi,
I have exactly the same error while importing my file :
Unable to get location data for 5 parc saint-martin 33370 pompignac
object(stdClass)#6127 (3) { [“error_message”]=> string(74) “This IP, site or mobile application is not authorized to use this API key.” [“results”]=> array(0) { } [“status”]=> string(14) “REQUEST_DENIED” }my site is afmb.fr and i configured my Google API like that :
*.afmb.fr/*
http://www.afmb.fr
192.162.68.145where the IP address is the IP address of my Apache server that runs WP.
Can you help me please
RegardsMarch 31, 2015 at 8:58 am #12089popiMemberNow it works !!!!
May be propagation time … -
AuthorPosts
- The topic ‘API issues/errors while importing CSV’ is closed to new replies.