Distance.Route doesnt work since today: Error invoking doRoute: null

5 posts / 0 new
Last post
Distance.Route doesnt work since today: Error invoking doRoute: null



We using Mapquest.js with L.mapquest.directions to paint a route on the map. Since a few hours we get this error message:

Uncaught (in promise) Error processing request: Error invoking doRoute: Error invoking doRoute: null mapquest.js:10:214150


Our script:



  <meta charset="utf-8" http-equiv="X-UA-Compatible" content="IE=edge" />


  <script src="https://api.mqcdn.com/sdk/mapquest-js/v1.3.1/mapquest.js"></script>

  <link type="text/css" rel="stylesheet" href="https://api.mqcdn.com/sdk/mapquest-js/v1.3.1/mapquest.css"/>

  <script type="text/javascript">

    var map;

    window.onload = function() {

      L.mapquest.key = '____MAPQUESTKEY___';


      map = L.mapquest.map('map', {

        zoom: 3,

        center: [52.516181, 13.376935],

        layers: L.mapquest.tileLayer('map'),

        doubleClickZoom: true






          locations: [[52.516181, 13.376935],[52.141455, 11.623929]],

          options: {

            unit: 'k',

            routeType: 'fastest',

            narrativeType: 'none',

            destinationManeuverDisplay: false,

            sideOfStreetDisplay: false,

            countryBoundaryDisplay: false,

            stateBoundaryDisplay: false,

            doReverseGeocode: false









  <div id="map" style="width:100%; height:95%;"></div>




    Does something changes in the API?

    Same here


    We are also seeinng this issue. We're unable to route at the moment with the same error.

    Same here

    Seeing the same issue. Haven't changed anything on our side, so I assume it's a MapQuest outage. Quite a long one, though.

    Thanks for the heads up. The
    Thanks for the heads up. The operations and development teams are working on the issue now.

    The Directions API is back to
    The Directions API is back to normal and you should not see any more unexpected errors. Sorry for the inconvenience.