"System.FormatException: Input string was not in a correct format" error when you process a message in eConnect
This article provides a resolution for the Input string was not in a correct format error that may occur when you process a message in eConnect in Microsoft Dynamics GP.
Applies to: Microsoft Dynamics GP
Original KB number: 917001
When you process a message, you receive the following error message from the eConnect Incoming Service:
System.FormatException: Input string was not in a correct format.
This problem occurs because the incoming message contains a non-numeric value in at least one field that has a numeric data type.
To resolve this problem, review the Incoming Schemas topic in the eConnect Help. This topic contains a list of the data types for each field in the schema that you are using. Then, modify the value of any fields that have a numeric data type and that contain a non-numeric value in the XML data of your message.