Errors and troubleshooting

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

  • 400 INVALID_ARGUMENT: Check that your travel_duration is positive and within the limit for the selected mode. The maximum duration is 3,600 seconds for DRIVE, or 7,200 seconds for WALK and BICYCLE.
  • 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.