Outbound API: Troubleshooting Import API Validation Errors

From DocWiki

Jump to: navigation, search

Outbound API: Troubleshooting Import API Validation Errors

Problem Summary An Import API request returns a validation error.
Error Message

The API response contains the error data, error message, and error type. For data validation errors, the exact line number and column number appear within the error message. For example, the following API response shows that one of the values for the Phone01 field in the fileContent data is formatted incorrectly. The incorrect data can be found in column 4, line 9:

<apiErrors>
    <apiError>
        <errorData>fileContent</errorData>
        <errorDetail xsi:type="bulkCsvErrorDetail">
        <column>4</column> 
        <error>
            <errorData>Phone01</errorData>
            <errorMessage>
            The format of this field is incorrect. Valid characters are 0-9, #, and *.
            </errorMessage>
            <errorType>invalidInput.invalidChars</errorType>
        </error>
        <line>9</line>
        </errorDetail>
        <errorType>invalidInput.bulk.invalidFileContent</errorType>
    </apiError.
</apiErrors>     
        

Possible Cause Data provided in the input XML is not valid.
Recommended Action

Fix the error outlined in the API response and try the request again.

Release 11.5(1)
Associated CDETS # None



Rating: 0.0/5 (0 votes cast)

Personal tools