API issues/errors while importing CSV

New home Forums Pro Add-on API issues/errors while importing CSV

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #11514
    ckairos
    Member

    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.

    #11541
    Nick Duncan
    Keymaster

    Hi
    Please confirm that you are actually doing this on a live site and not localhost? The API will not work on your localhost.

    #11554
    ckairos
    Member

    Yes. This is a live site.

    #11556
    ckairos
    Member

    Yes. This is a live site. Please let me know what I can do to resolve this issue. Thanks.

    #11637
    Nick Duncan
    Keymaster

    Hi
    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

    #11640
    ckairos
    Member

    Thanks 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” }

    #11717
    Nick Duncan
    Keymaster

    Hi
    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?

    #12088
    popi
    Member

    Hi,

    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.145

    where the IP address is the IP address of my Apache server that runs WP.

    Can you help me please
    Regards

    #12089
    popi
    Member

    Now it works !!!!
    May be propagation time …

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘API issues/errors while importing CSV’ is closed to new replies.