Page 1 of 1

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

Posted: Tue Dec 17, 2019 2:04 pm
by Bernd Welter
Hi there,

an xBuddy gets the following error message through his xTour2 planTours call:

Code: Select all

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
  <soap:Body>
    <soap:Fault>
      <soap:Code>
        <soap:Value>soap:Receiver</soap:Value>
      </soap:Code>
      <soap:Reason>
        <soap:Text xml:lang="en">There is no unique UTC offset determinable for a driver operating interval.</soap:Text>
      </soap:Reason>
      <soap:Detail>
        <ns3:XServerWebFault xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:ns3="http://exceptions.xserver.ptvgroup.com" 
  xmlns:ns2="http://xtour.xserver.ptvgroup.com"  
  hint="Please provide a UTC offset for the driver operating interval." 
  parameter="/PlanToursRequest/fleet/drivers[1]/@operatingIntervals[1]" 
  value="" xsi:type="ns3:InvalidValueFault"/>
      </soap:Detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>
The one and only time value he mentioned in his request is

Code: Select all

<drivers id="Paul" vehicleId="Auto">
<operatingIntervals 
  xmlns:q601="http://time.xserver.ptvgroup.com" 
  xsi:type="q601:StartDurationInterval" 
  start="2019-12-17T14:33:43.9624685" 
  duration="28800"/>
</drivers>
What exactly does it mean? OK, I immediately told him to add an UTC offset, but: the message didn't appear with other coordinates being involved - so we try to understand the circumstances...

This worked fine...

Code: Select all

<drivers id="Paul" vehicleId="Auto">
<operatingIntervals 
 xmlns:q601="http://time.xserver.ptvgroup.com" 
 xsi:type="q601:StartDurationInterval" 
 start="2019-12-17T14:33:43.9624685+01:00" 
 duration="28800"/>
</drivers>

Best regards,
Bernd