Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 

For those among us who are newcomers to the SAP Cloud Integration, lacking expertise in this domain, we face challenges in understanding the  error messages that surface during runtime execution.Sometimes we also get stuck to understand the issue properly.


In this Blog,we will try to understand different types of error message that you might encounter and possible solutions for them.It is always a good idea to set the Log Level to Trace and understand the issue better.



 

Let's discuss some of the common error and their possible solutions.

 

1.Cannot Produce the Target Element


Error Details




com.sap.xi.mapping.camel.XiMappingException: Cannot produce target element /ns0:BookingOrderRequest. Queue has not enough values in context. Target xsd requires a value for this element, but target field mapping does not produce one. Probably the xml-instance is not valid to the source xsd, or the target field mapping does not fulfill the requirement of the target xsd., cause: com.sap.aii.mappingtool.tf7.IllegalInstanceException: 



Possible Solution

This error message indicates that mapping is missing with mandatory value in the message body.The failure is happening at Message Mapping step.Check the Payload and its structure  which is passed to Message Mapping



 

2.Invalid Input XML


Error Message 

org.apache.camel.CamelException: Invalid input XML.

Possible Solution

It means adapter is expecting Input Payload in XML Format but it has received a wrong XML payload.

 

3.Invalid JSON Input Structure


Error Message : 

org.apache.camel.CamelException: Invalid JSON input structure. A JSONObject
text must begin with '{' at 1 [character 2 line 1]

Possible Solution

This error indicates that received payload or input payload is not having the proper JSON format or syntax.In other words,it means received structure is a non-valid JSON.

 

4.No Artifact Descriptor Found


Error Message :

[CONTENT][CONTENT_DEPLOY][NoArtifactDecriptorFoundForArtifactName]:No artifact descriptor found for artifactName Blog_Credential, cause: com.sap.it.nm.types.NodeManagerException: [CONTENT][CONTENT_DEPLOY][NoArtifactDecriptorFoundForArtifactName]:No artifact descriptor found for artifactName Blog_Credential

Possible Solution

This error indicates that security artifact which is used in the connection tab in the adapter doesn't exists.Create and Deploy the Security Artifact under the Security Material.

 

5.SSLHandshakeException


Error Message :

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid
certification path to requested target, cause:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid
certification path to requested target.

 

Possible Solution : 

This error indicates that root certificate is missing from keystore.Please deploy the correct root certificate to fix this issue.

 

6.UnknownHostException


Error Message :

java.net.UnknownHostException: www.google.123.com

Possible Solution : 

This error indicates that the URL used in the Address field of the Connection tab in the adapter  is not correct. Correct the value of this field.

 

7. Http 401 Unauthorised


Error Message 

com.sap.gateway.core.ip.component.odata.exception.OsciException: : 401 : HTTP/1.1

Possible Solutions:

It indicates client request has not been completed because it lacks valid authentication credentials for the requested resource.



8.Http 403 Forbidden


 Possible Solution 

403 Forbidden is the status code to return when a client has valid credentials but not enough privileges/roles to perform an action.

 




In the course of executing end-to-end processes, users may encounter a variety of common error messages. This comprehensive guide has been crafted to assist them in swiftly identifying the underlying issues and taking the essential steps to effectively resolve these concerns. With the aid of this resource, users can confidently troubleshoot and overcome any obstacles that may arise, ensuring a smooth and successful execution of their tasks.


 

In case of any questions or feedback, please feel free to comment on this blog post.