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 7,200 seconds for WALK and BICYCLE.
    • Make sure you aren't requesting TRAFFIC_AWARE routing if your travelMode is set to WALK or BICYCLE. Live traffic is only supported for DRIVE.
  • 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.