flutter_mapbox_navigation: Error occurred fetching offline route: No suitable edges near location - Code: 171

Why I get this error when I try to get a route?

E/MapboxOnboardRouter( 5786): Error occurred fetching offline route: No suitable edges near location - Code: 171
W/valhalla( 5786): /data/valhalla/elevation/ currently has no elevation tiles
I/valhalla( 5786): locations_count::2
I/valhalla( 5786): costing_type::auto
I/valhalla( 5786): total_location_distance::0.142777km
E/valhalla( 5786): Cancelled
I/chatty  ( 5786): uid=10180(com.reddiapp.business) identical 378 lines
E/valhalla( 5786): Cancelled

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 26 (6 by maintainers)

Most upvoted comments

I’m having the same issue but only on Android, iOS is working fine. The error occurs on both a physical and virtual Android device, turning on the location of the physical device does not make a difference. The OFFLINE:READ and WRITE options are not enabled in the token.