Error processing route request

6 posts / 0 new
Last post
Becsaful
Error processing route request

New to MapQuest, recieving this error when trying to request route matrix information, thank you

{"route":{"routeError":{"message":"","errorCode":0}},"info":{"copyright":{"text":"© 2017 MapQuest, Inc.","imageUrl":"http://api.mqcdn.com/res/mqlogo.gif","imageAltText":"© 2017 MapQuest, Inc."},"statuscode":400,"messages":["Error processing route request: ","Error parsing JSON from Request: A JSONObject text must begin with '{' at character 0 of ,  Please see the documentation for the Directions Service at http://www.mapquestapi.com/directions/ for details on correctly formatting requests."]}}
 

 


MQBrianCoakley
Please provide a sample
Please provide a sample request that is returning this error and we can take a look.

Becsaful
r = requests.post('http://www

MQBrianCoakley
If you're posting the data we
If you're posting the data we'll need to see that too. This request is only a base url, action, and key which will return the previously mentioned error response.

Becsaful
Figured it out now, as you

Figured it out now, as you can tell i am completley new to this, thank you for your help! I was using the wrong link!


MQBrianCoakley
Good to hear. Thanks for
Good to hear. Thanks for letting us know.