Eric
Eric

Reputation: 468

HEREmaps SDK Flutter - Routing error: 6, exception: These credentials do not authorize access, error code: 403

Im using Here SDK (Explore) for Flutter, the account got billinginformations and right credentials. I can show a map and draw polylines on it.

But when i try to add a Route it doesnt work with following error:

E/routing ( 3234): [ERROR] routing - Routing error: 6, exception: These credentials do not >authorize access, error code: 403

the function to get the Route is the same from the examples:

    _routingEngine.importCarRoute(routeLocations, CarOptions.withDefaults(), (routingError, routes) {
      if (routingError == null) {
        here.Route route = routes!.first;
        _showRouteDetails(route);
        _showRouteOnMap(route);
        _logRouteSectionDetails(route);
        _logRouteViolations(route);
      } else {
        var error = routingError.toString();
        _showDialog('Error', 'Error while calculating a route: $error');
      }
    });

Upvotes: 1

Views: 304

Answers (1)

Nusatad
Nusatad

Reputation: 3551

Unfortunately, your observation is correct. The official release notes list this as known issue:

RoutingEngine: The route import feature via a list of Locations cannot be used yet commercially and requires custom access credentials. Please contact your sales representative to get access.

I hope the HERE team can fix this soon. Until then, HERE needs to enable the credentials manually per customer. Ideally, contact the HERE team directly to get your credentials enabled for this feature.

Upvotes: 1

Related Questions