Page 1 of 1

The request contains an invalid horizon value...

Posted: Mon Sep 26, 2022 9:32 am
by Bernd Welter
Hi there,

for those who face the following error message in xServer internet:

Code: Select all

{
  "faultInfo": {
    "$type": "InvalidValueFault",
    "hint": "All horizon values must be less or equal to the maximum configured in xserver.conf. Use a smaller value or contact your administrator to increase the maximum.",
    "parameter": "/reachableAreasRequest/reachableAreasOptions/@horizons",
    "value": "7201"
  },
  "message": "The request contains an invalid horizon value which exceeds the configured maximum."
}
The current maximum values on PTV xServer Internet 2 are (as of 1.09.2022):
  • TravelTimeBasedHorizon = 7200secs aka 2 hours
  • DistanceBasedHorizon = 200'000m aka 200km
This is subject to change ;-)

Bernd