Uncaught (in promise) No conditions ahead returned. Traffic data is not available for this route.

6 posts / 0 new
Last post
pinkdigital
Uncaught (in promise) No conditions ahead returned. Traffic data is not available for this route.

We are receiving a error " Uncaught (in promise) No conditions ahead returned. Traffic data is not available for this route. "

I have checked the route and there is nothing in it that would cause a problem. The other route on the page generates correctly. Does anyone know why this could be?

Is there a way to disable Traffic Data as we do not use it?


MQBrianCoakley
Is there a url where we can
Is there a url where we can see this happening?

pinkdigital
No, it is a private app. The

No, it is a private app. The only error is Uncaught (in promise) No conditions ahead returned. Traffic data is not available for this route. and it will then display the waypoints on the map after a few seconds but no route.


MQBrianCoakley
Can you send us a (simple)
Can you send us a (simple) sample page that shows the error happening? Do you see a successful response from the directions api request?

mcmarti10
Hello,

Hello,

I have the same problem with this set of waypoints:

  1. 0: A {lat: 47.931297, lng: 1.9204341}
  2. 1: A {lat: 48.1027822, lng: 2.7750101}
  3. 2: A {lat: 48.1956626, lng: 2.8145772}
  4. 3: A {lat: 48.0158055, lng: 2.8911845}
  5. 4: A {lat: 47.7961287, lng: 3.570579}
  6. 5: A {lat: 47.8049209, lng: 3.5828556}
  7. 6: A {lat: 47.6842961, lng: 2.631149}
  8. 7: A {lat: 47.912088609789414, lng: 2.7351048588752747}
  9. 8: A {lat: 47.91236906651438, lng: 1.8739548325538637}
  10.  
  11. start point {lat: 47.945771, lng: 2.2631781}
  12. end point {lat: 47.945771, lng: 2.2631781}

my code is working with others routes


MQBrianCoakley
The directions API is not
The directions API is not able to route from/to 47.7961287,3.570579. This has been sent on to the development team to assess.