Skip to content
+1-888-319-3663

HELP ARTICLE

Failed to convert parameter value or Input String was not in a correct format.


When running a SmartConnect map, receiving an error on each transaction that says “Input string was not in a correct format” or “Failed to convert parameter value”


This indicates that a value being passed into eConnect is not using the correct data type. For example, passing a string into an integer field, or passing an integer into a date field. In order to troubleshoot this issue, you need to determine what value is using an incorrect data type. Follow these steps to troubleshoot the error:

1. Download the eConnect Programmers Guide from this link: eConnect Programmers Guide.  The file you want to download is named eConnectProgrammersGuide.chm

2. In your SmartConnect map, change the destination from Microsoft Dynamics GP to Microsoft Dynamics GP – File. Point the Destination Path to somewhere on the local hard drive.

3. Run the map, it will generate XML documents in the location you specified. The XML documents are what SmartConnect is sending to eConnect.

4. You will see the names if the eConnect nodes in there along with all the data elements being set to the node. All the node names start with ta. So for example the node that creates SOP Headers is named taSopHdrIvcInsert. Once you find the node name, lookup that exact node name in the eConnectProgrammersGuide.chm file. Look under the XML Node Reference for the node of the same name.

5. Once you have the node open, look at all the element names and the data types for the elements. Compare them to the data that is in your XML file. If it’s saying “Failure to convert string to Int” then you know you only have to look at the elements that are Integer data types and see if there is anywhere a string is being passed to them. Typically this will enable you to find the field that is causing the issue. You also may be running into an issue with an eConnect Pre or Post procedure. If the Pre or Post procedure has SQL script that is returning errors, they will show up in the SmartConnect errors as well.

RECENT POSTS


Configuring Salesforce Integration User
Business Central Extension Publish Error
Re-registering a Change Data Source in Business Central on SmartConnect.com
Moving SmartConnect 21 to a new server
eConnect error 4628 - The Tracking Number (Tracking_Number) is empty

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships Partner All Hands Call Popdock promotions release Salesforce Salesforce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.