I am trying to request routes from 100 coordinates of client addresses (held in a csv file) to a single coordinate (a foodbank site)
import csv import openrouteservice client = openrouteservice.Client(key='myAPIkey') with open ('ClientCoordinates.csv' , 'r') as csv_coords: csv_reader = csv.reader(csv_coords) EXTRA_COORD = (53.464774, 2.23179) new_csv_coords =  routelist =  for line in csv_reader: new_csv_coords.append(((float(line), float(line)), EXTRA_COORD)) coords = (new_csv_coords) print(coords) routes = client.directions(coords) print(routes)
This returns the error - Request parameters exceed the server configuration limits. The approximated route distance must not be greater than 6000000.0 meters.
My API token says I can perform 2000 requests, and I am only requesting 100 so I’m not sure what is going on. Thanks in advance for any help.