Page 1 of 1

What means "There is no unique UTC offset determinable for"

Posted: Tue Sep 20, 2022 3:11 pm
by Bernd Welter
Recently a client faced the following error message in xTour:

Code: Select all

{
  "faultInfo": {
    "$type": "InvalidValueFault",
    "hint": "Please provide a UTC offset for the planning horizon.",
    "parameter": "/PlanToursRequest/planToursOptions/@planningHorizon",
    "value": "the planning horizon"
  },
  "message": "There is no unique UTC offset determinable for the planning horizon."
}
Here's what triggers this message:
  • Usually the tour planning component uses a very detailed and complex structure of time intervals which should reflect international time zones.
  • To ensure that the timezones are properly described in your API call you are kindly requested to provide the UTC offsets.
  • The offset is optional - if you do not provide it we will try to determine the time zone based on the involved coordinates of your stops.
  • Sometimes these coordinates may be located in different timezones and so the determination fails.
How to get rid of this?
Provide the proper UTC!