This key is not authorized for the Geocoding service. Directions API

5 posts / 0 new
Last post
preferredtherap...
This key is not authorized for the Geocoding service. Directions API

Hi,

I am trying to request a directions query using -

http://open.mapquestapi.com/directions/v2/route?key=MY_API_KEY&ambiguiti...

But, I am receiving this error message with status code 500,

{"collections":[],"info":{"copyright":{"text":"© 2015 MapQuest, Inc.","imageUrl":"http://api.mqcdn.com/res/mqlogo.gif","imageAltText":"© 2015 MapQuest, Inc."},"statuscode":500,"messages":["This key is not authorized for the Geocoding service."]}}

 

Can someone help me with this?


MQBrianCoakley
Can you post a specific
Can you post a specific request? Your key works great for me in this one.   http://open.mapquestapi.com/directions/v2/route?key=KEY&ambiguities=igno...

preferredtherap...
Yes, it is giving me that

Yes, it is giving me that error message on this query

http://open.mapquestapi.com/directions/v2/route?key=MY_API_KEY&ambiguiti...

 


MQBrianCoakley
If you encode the # with %23
If you encode the # with %23 does the request work for you? It works great for me without the reserved url character.

preferredtherap...
Thank you very much. I will

Thank you very much. I will try that.