The error is telling you the issue is that it doesn't support points that further than 2.5km apart when snapping. If your points are that spread out, use the routing service.
You could loop through your points in sequential order and calculate the straight-line distance between points, if the distance is greater than 2.5km, either calculate a route for that single segment or for the whole set of points (depending on how many points you have).