on 02-06-2017 3:37 PM
Hi Experts,
I am doing SAP to Salesforce integration. I am trying to post some data on salesforce. Here is the error I am getting on the receiver channel-
"Message processing failed. Cause: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted".
I have gone through note# 2305614 - HIERARCHY_REQUEST_ERR error in Receiver REST Adapter and unchecked box "Strip operation from Message (Outer Element) however still I am getting error. This error is not from SalesForce because I have TCPGTW and the message is not reaching gateway.
Please suggest.
Thanks,
Nishant
Hi,
Basically this error would come if you enable strip operation from receiver rest adapter.
If you have unchecked it, then try whether you have any cache issue. Try refreshing the cache and try again.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked for my case. However, the Root Node (basically the Message Type MT_*) was present in the output JSON Payload. So, I used the checkbox 'Strip Outer Element' instead.
Thanks, I too faced this issue and now fixed as per "cathyliyu987" solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi cathyliyu987,
I used the checkbox 'Strip Outer Element' too ,but have a error "HIERARCHY_REQUEST_ERR".
how did you solve it without unchecked the checkbox of outer element.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ali_ismael
Apologies, I didn't visit SDN for a while. Not sure you if you are still looking into this. However, to let you know, In my case, I unchecked the checkbox for 'Strip Operation from Message (Outer Element)' and I checked the checkbox 'Strip Outer Element'. This solved the issue of the Hierarchy exception message and also the Root Node getting into the output payload. See the below screenshot for my setup:
Hope it helps.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.