350m radius error using .optimization request

Hi,

I’m running a script for vehicle optimization using the .optimization module between waypoints. I get the error “500 ({‘code’: 3, ‘error’: ‘Could not find routable point within a radius of 350.0 meters of specified coordinate 7: x,y.’})”. I know there is a way to get around this in the .directions module by using the radiuses parameter but is there something similar for the .optimizations module?

Hey,

no, the radiuses-parameter is not available for the /optimization-Endpoint.
I’d suggest to check the corresponding coordinate and fix this in your data, i.e. using a point that has a routable point within a radius of 350m.

Best regards