Open sdk/js/v7.2.s/mqa.toolkit.js script leaves out the key from search request

6 posts / 0 new
Last post
spencer.wasden
Open sdk/js/v7.2.s/mqa.toolkit.js script leaves out the key from search request

I validate my key with this:

    http://open.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js?key=[my valid key was here]

I get the full script back from that.  That's good.

But when the library makes a search request, it doesn't add the key to the search :

    http://open.mapquestapi.com/nominatim/v1/search?q=10608%20Kitty%20Pozer%...

I get a 403 Forbidden ("The AppKey submitted with this request is invalid." is the text on the page).

Now if I simply add my key:

    http://open.mapquestapi.com/nominatim/v1/search?q=10608%20Kitty%20Pozer%... verified valid key was here]

I get this back:

MQA.NominatimIO.CALLBACKS.c14431257461336([{"place_id":"2441954914","licence":"Data \u00a9 OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","boundingbox":["38.838004687247","38.838104687247","-77.313033861064","-77.312933861064"],"lat":"38.8380546872472","lon":"-77.3129838610641","display_name":"10608, Kitty Pozer Drive, Fairfax, Fairfax City, Virginia, 22030, United States of America","class":"place","type":"house","importance":0.411}])

So 7.2.s doesn't add the key to the request.  Should I expect: 

    http://open.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js  

to work?  Am I missing a configuration?  Is there another version?

As far as I can tell from http://devblog.mapquest.com/2015/08/17/mapquest-free-open-license-update... shouldn't be having problems....should I?


jonathan
It's a bug in the Open
It's a bug in the Open JavaScript Maps API.  We'll be pushing an update for this soon. Would also suggest taking a look at our Leaflet Plugins; we have Open versions of the plugins hosted on open.mapquestapi.com.

MQBrianCoakley
This is a known issue that
This is a known issue that will be fixed in an update soon. How soon? Sorry, no concrete date yet, but I'm hoping within a month or so. I don't have the nominatim module in front of me right now but you should be able to modify the url string being sent to add + "&key=" + Key

jonathan
Just want to follow up to let
Just want to follow up to let you know that this issue has been resolved in prodcution.  We released a bug fix on Tuesday, September 29, 2015.  

spencer.wasden
Is there a version number

Is there a version number change?  I've tried these with no success:
  http://open.mapquestapi.com/sdk/js/v7.2.s/mqa.toolkit.js?key=[my valid key]
  http://open.mapquestapi.com/sdk/js/v7.2.1/mqa.toolkit.js?key=[my valid key]

I am currently only around 1000 requests.

 


MQBrianCoakley
What is the error you're
What is the error you're getting? Both of your keys work great for me.