locked
Bing Maps REST API - No route was found for the waypoints provided RRS feed

  • Question

  • Hello everybody,

    I'm using Bing maps REST API with asp.net and BingMapsRESTToolkit (https://github.com/microsoft/BingMapsRESTToolkit)

    When I try to get routes between Brescia and Cremona it returns me no Route was found. 

    Request: https://dev.virtualearth.net/REST/v1/Routes/Driving?&wp.0=Brescia%20BS&wp.1=Cremona%20CR&c=it-IT&key={myPrivateKey}&clientApi=CSToolkit 

    Response: 

    {"authenticationResultCode":"ValidCredentials","brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2020 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","errorDetails":["No route was found for the waypoints provided."],"resourceSets":[],"statusCode":404,"statusDescription":"Not Found"}

    Why? If I search those location on bing maps https://www.bing.com/maps there are found results.

    Somebody could help me?

    Regards

    Wednesday, November 4, 2020 8:05 AM

Answers

  • Can you use "Cremona,Italy"?
    • Marked as answer by DanielNewb Friday, November 6, 2020 8:15 AM
    Thursday, November 5, 2020 7:01 PM

All replies

  • Hi Daniel,

    This means the the API could not find a disambiguated point to do the routing. Do you have a more specific address you could use?

    Sincerely,

    IoTGirl

    Wednesday, November 4, 2020 7:04 PM
  • Hi,

    No, I only have the city from Italy. If I change and I a put Roma instead of Cremona it finds results. 

    Sincerely


    • Edited by DanielNewb Thursday, November 5, 2020 8:35 AM
    Thursday, November 5, 2020 8:34 AM
  • Can you use "Cremona,Italy"?
    • Marked as answer by DanielNewb Friday, November 6, 2020 8:15 AM
    Thursday, November 5, 2020 7:01 PM
  • Hello,

    it works!. Thank you.

    Sincerely

    Friday, November 6, 2020 8:15 AM
  • Excellent!  Thank you for confirming.
    Friday, November 6, 2020 6:55 PM