Change ors limits

Hi how do i change the limits in config file ?
i don’t understand the docs. should i edit yml file or the json.
i’ve tried both and it doesn’t work…
i want to set these to errors to be unlimited:

Map.js:94 Server responded with 400: {"error":{"code":2004,"message":"Request parameters exceed the server configuration limits. The approximated route distance must not be greater than 100000.0 meters."},"info":{"engine":{"build_date":"2023-11-16T15:05:35Z","version":"7.2.0"},"timestamp":1708820585903}}

and :

Error response: {"code":3,"error":"Request parameters exceed the server configuration limits. Only a total of 2500 routes are allowed."}

I have the same problem… I’d wish to set boundaries for map

Hi @DejavuDaniel

the first one can be adjusted with maximum_distance in ors.engine.profiles | openrouteservice backend documentation

the second one seems to be a matrix response where you can set the max pairs in:

Hi @JamppaSuomesta,

i have no idea what you could mean with setting boundaries for map?
Please elaborate

Hi @amandus,

What I mean is the bounding box (is there one?) of the map data being
processed.

My setup does seem to work ok, but when I try i get always error saying
that the point(s) is/are invalid. But when I try agains API playground and
not developer settings… it rocks?

The data used is limited to your PBF file.

Make sure you use the correct source_file and rebuild the graphs. (Remove graphs folder or set REBUILD_GRAPHS)

Best regards