Error for request route from ios app

5 posts / 0 new
Last post
Suva Debnath
Error for request route from ios app

Error Domain=com.mapquest.mqnavigation.error Code=1001 "We are unable to route with the given locations." UserInfo={httpStatusCode=500, NSLocalizedDescription=We are unable to route with the given locations., response={

    errors =     {

        code = 5020;

        message = "We are unable to route with the given locations.";

        status = 500;

        title = "There was an error with the internal directions service";

    };

}}

 

Can anybody help me


MQBrianCoakley
What locations were used in
What locations were used in the route?

Suva Debnath
location 1 (40.7608351,-74

location 1 (40.7608351,-74.0663539) 

location 2 (39.9626,-74.6788)

try to draw route between this two point


Suva Debnath
rror Domain=com.mapquest

rror Domain=com.mapquest.mqnavigation.error Code=1001 "We are unable to route with the given locations." UserInfo={httpStatusCode=500, NSLocalizedDescription=We are unable to route with the given locations., response={

    errors =     {

        code = 5020;

        message = "We are unable to route with the given locations.";

        status = 500;

        title = "There was an error with the internal directions service";

    };

}}

 

till now i get error but my app fetch response like

 

[<MQRoute: 0x281d17980>: routeId 5eda1223-02fe-5f21-02b4-1a24-0647e6e69816, legs (

    <MQRouteLeg: 0x281d16e90>: shape {<MQShape: 0x283cd39c0>: coordinateCount 1774, coordinates (

        latitude 40.760971, longitude -74.066399,

        latitude 40.760948, longitude -74.066460,

        latitude 40.760841, longitude -74.066856,

        latitude 40.7607

....

 

.....

 

.....

 

uction: 0x28319b420>: instruction 'Turn right onto Farnsworth Ave/County Hwy-545', position 1693.000000, maneuverType .right, distanceToManeuver 379.145477,

        <MQInstruction: 0x28319b3c0>: instruction 'Turn slight right onto US Highway 206/US-206 S. Continue to follow US-206 S', position 1699.000000, maneuverType .slightRight, distanceToManeuver 414.114624,

        <MQInstruction: 0x28319ac10>: instruction 'Turn left onto S Pemberton Rd/County Hwy-530. Continue to follow County Hwy-530', position 1959.000000, maneuverType .left, distanceToManeuver 18873.173828,

        <MQInstruction: 0x28319ad60>: instruction 'Turn right onto Magnolia Rd/County Hwy-644', position 2018.000000, maneuverType .right, distanceToManeuver 4549.360840,

        <MQInstruction: 0x283199c50>: instruction 'Turn right onto 1st Ave', position 2029.000000, maneuverType .right, distanceToManeuver 587.935669,

        <MQInstruction: 0x283199260>: instruction 'You have arrived at your destination', position 2030.000000, maneuverType .destination, distanceToManeuver 47.367359,

    ),

), options {<MQRouteOptions: 0x281a240c0>: routeType .fastest: highways .allow, tolls .disallow, ferries .avoid, unpaved .allow, internationalBorders .disallow, seasonalClosures .avoid, maxRoutes 3, systemOfMeasurementForDisplayText .imperial, language en_US, rallyMode true}, startingLocation {<+40.76083510,-74.06635390> +/- 0.00m (speed -1.00 mps / course -1.00) @ 05/06/20, 15:13:29 India Standard Time}, destinations (

    location <+39.96260000,-74.67880000> +/- 0.00m (speed -1.00 mps / course -1.00) @ 05/06/20, 15:13:26 India Standard Time, mqid (null),

), trafficOverview .light, name 'US-1 S']


MQBrianCoakley
There have not been any
There have not been any updates to the service. I'm not sure how or why it start working now.