none
LocalInsights is returning HTTP 500 UnknownError RRS feed

  • Question

  • Request 1: https://dev.virtualearth.net/REST/V1/Routes/LocalInsights?Waypoint=1%20Microsoft%20Way,Redmond,WA&TravelMode=Driving&Optimize=time&MaxTime=30&TimeUnit=Minute&type=DepartmentStores,MovieTheaters&key=...

    Returns HTTP 200: "traceId": "23d9b0c3d4cf41b4b9989fbd033a2888|BN000021CF|0.0.0.0|BN00001860,BN00003126|Ref A: EC7733ED556A4E6E9E7DDB4C4F2292B9 Ref B: BN3EDGE0308 Ref C: 2020-10-04T03:38:15Z"

    Request 2: https://dev.virtualearth.net/REST/V1/Routes/LocalInsights?Waypoint=1%20Microsoft%20Way,Redmond,WA&TravelMode=Driving&Optimize=time&MaxTime=30&TimeUnit=Minute&type=DepartmentStores,MovieTheaters,Restaurants&key=...

    Returns HTTP 500: "traceId": "d6e303853cc24f3d8f0f96d276fffddc|BN000021CF|0.0.0.0|Ref A: 71EE6B2CE82D4646B7F6C1E09B2D5C53 Ref B: BN3EDGE0308 Ref C: 2020-10-04T03:40:27Z"

    Is this a known limitation?

    Sunday, October 4, 2020 3:44 AM

All replies

  • Hi m,,k,

    I am not sure but I am able to reproduce the issue and will send it to the team for review.

    Sincerely,

    IoTGirl

    Monday, October 5, 2020 3:50 AM
    Owner
  • Hi m,,k,

    The team has accepted this issue for review and has a work around for you.  It seems the set size for the second call is too large and is causing the 500.  if you change the MaxTime to 5 you will get a 200 response.

    Sincerely,

    IoTGirl

    Monday, October 5, 2020 6:45 PM
    Owner
  • Hello, thank you for looking into this.

    Unfortunately, I do not think that is a valid solution.

    It will make development quite cumbersome if I need to expect the service to fail, then iteratively reduce the distance and/or categories until the service returns successfully.  Not to mention, it will multiply the number of API calls.

    Thank you, but I think I will look for a different solution.

    Monday, October 5, 2020 8:47 PM
  • Hi m,,k,

    The team has identified the issue and is deploying a fix. I am curious how lessening the radius of the search renders the solution invalid, can you please explain?

    Note: Any remote web call should handle an array of result codes, including 500's so this should not be extra work but rather just a typical retry handler. 

    Sincerely,

    IoTGirl

    Tuesday, October 6, 2020 4:56 PM
    Owner