Errors and troubleshooting

When working with the Isochrones API, you might encounter the following common errors:

  • 400 INVALID_ARGUMENT: Check the following common issues:
    • Make sure your travelDuration is positive, ends with "s" like "1800s", and is within the limit for the selected mode. The limit is 3,600 seconds for DRIVE and TWO_WHEELER, and 7,200 seconds for WALK and BICYCLE.
    • If your travelMode is set to WALK or BICYCLE, make sure you aren't requesting TRAFFIC_AWARE routing. Live traffic is only supported for DRIVE and TWO_WHEELER.
  • 404 NOT_FOUND: The origin point failed to snap to a valid road segment. Try moving the coordinate closer to a known street, or ensure the region is supported by the API.