The request contains an invalid horizon value...

Proper forum for all questions related to xServer INTERNET = the Azure based cloud solution. This forum deals with the architecture topics such as load balancing, available profiles and standard server settings.
Please be aware that questions about core functionality such as routing, mapping, geocoding in general should be placed in the xServers dedicated forum ;-)
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2572
Joined: Mon Apr 14, 2014 10:28 am
Contact:

The request contains an invalid horizon value...

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply