Distance_influence bigger or equal to 90.0

Hello guys,

I have been receiving this error in my requests

ClientError on Graphopper request: {“message”:“CustomModel in query can only use distance_influence bigger or equal to 90.0, but was: 15.0”,“hints”:[{“message”:“CustomModel in query can only use distance_influence bigger or equal to 90.0, but was: 15.0”,“details”:“java.lang.IllegalArgumentException”}]}

I’ve checked the documentation and there’s not mention to a limitation value for distance_influence.

Any idea, why is this happening?

Sounds like you have defined a custom model in your configuration, which has been used at import time to create the GH cache. In the custom model you have distance influence 90. When querying for routes, the distance influence can only be set to same or higher than what you have in the custom model settings.

1 Like