Page 1 of 1

Error: converting currency to euro failed

Posted: Tue Oct 03, 2023 8:43 am
by Bernd Welter
One of our partners recently reported to have ran into this error message in an xRoute1 environment (2023.2H map) while he was dealing with routings to/from/through the United Kingdom and requested toll:

Code: Select all

<faultcode>soap:2440</faultcode><faultstring>converting currency to euro failed</faultstring>
<detail>
<ns3:XRouteException xmlns:ns6="http://exception.core.jabba.ptvag.com" xmlns:ns4="http://types.xroute.xserver.ptvag.com" xmlns:ns3="http://xroute.xserver.ptvag.com" xmlns:ns2="http://baseservices.service.jabba.ptvag.com" xmlns:ns1="http://common.xserver.ptvag.com" xmlns:ns0="http://wrappertypes.service.jabba.ptvag.com">
<ns6:stackElement className="com.ptvag.xserver.xroute.XRouteException" errorKey="2440" message="converting currency to euro failed">
<ns6:cause xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<ns6:wrappedContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</ns6:stackElement></ns3:XRouteException></detail>
Here's what this is about:

In his case there was an error in the file Currencies.ini in the map. In the entry for GBP there is a wrong character ">" behind the exchange rate.
Currencies.ini.png
Please remove the character and restart the server.

This should work fine then... If not: create a helpdesk ticket

Bernd