1. Transmitting the message to endpoint http://<host>:<port>/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 403
Tip: Activate the service sap/xi/engine in transaction SICF
Tip: In case you have used FTP as the protocol, you need to have a FTP server configured. If you have used NFS, it means that you are accessing a folder on the XI server itself, for all others use FTP. More on FTP - https://weblogs.sdn.sap.com/pub/wlg/4120
3. Transmitting the message to endpoint http://<server>:50000/sap/xi/engine/entry?action=execute using connection AFW failed, due to: Received HTTP response code 404
Tip: Note the wrong port 50000 here.
a) Run Tcode SMICM , and then goto -> services (or Shift-F1). Check what is your ICM HTTP port. Usually it is 8000.
b) Open the business system of your integration server in the SLD, Check if you have specified http://<host>:8000/sap/xi/engine?type=entry as pipeline URL there.
c) The pipeline URL is also maintained in transaction SXMB_ADM under the Global configuration parameter Corresponding Integration Server or under the Specific configuration parameter IS_URL.
d) Verify if com.sap.aii.connect.integrationserver.r3.httpport is correctly set in the Exchange Profile.
4. Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found
Tip: In case you have multiple records and they have various occurances, then make sure you have a key field for each record specified in your content conversion.
5. Transmitting the message to endpoint http://<host>:<port>/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.nio.BufferOverflowException.
Tip: The following is a reply from Shravan Miryala in a thread that was closed.
OSS note explains this error.
Also check icm/HTTP/max_request_size_KB parameter is set to max value 2097152 in the instance profile.
OSS Note - XI 3.0 AF: BufferOverflowException when sending large msgs
Here is a copy of the OSS Note
When sending large messages > 16 MB through the XI Adapter Framework, you proradically receive a java.nio.BufferOverflowException in the J2EE trace and/or Audit Log.
XI30, File Adapter, JDBC Adapter, Messaging System, XI Adapter
Reason and Prerequisites
This problem is caused by a bug in the Sun JVM and has been fixed as of version 1.4.2_08 and 1.3.1_16.
For details, refer to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4949631.
If you are using JDK 1.4.2, upgrade to JDK 1.4.2_08 or higher. If you are using JDK 1.3.1, upgrade to JDK 1.3.1_16 or higher. For details regarding the JDK upgrade, refer to note .
6. Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'XXXXX' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
Tip: Make sure in the file adapter -> Adapter Specific Identifiers you have selected XXXXX
Note: XXXXX can be FileName, Directory, FileType, FileEncoding, SourceFileSize, SourceFileTimeStamp, SourceFTPHost
7. Attempt to process file failed with java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '12345678' too long (>6 for 38. column) - must stop', probably configuration error in file adapter (XML parser error)' (*Receiver Channel*)
a) Check the target payload after mapping and make sure all the fields are generated. In case any field is not created the FCC for fixed length files will fail.
b) Check the value being genrerated at the mentioned column value. verify if its length matches the length of the field in that position.
Tip: Check if for the Recordset structure you have provided the occurance details. For example Header,1, Body,* etc. If so remove the occurance. The receiver file adapter does not require occurances to be mentioned. Only sender file adapter expects the same.
9. Error: Message processing failed: Exception: ftp access error: java.net.SocketException: Connection reset
Tip: A socket exception normally implies a network connectivity issue. Check if you can connect to the FTP server from your XI server. Try to ping the FTP port from your XI server and check if it works fine.
10. Error occurred while connecting to the FTP server "XXX.XXX.XX.XX.com:21": java.net.SocketException: Connection timed out:could be due to invalid address
Tip: This is probably due to the adapter unable to do a host name resolution. Instead of XXX.XXX.XX.XX.com or of XYZ.X.ZZ.org (host name), try giving the ip address of the server.
To see the exception stack trace in the adapter log files present in the XI server, navigate to