Technology Blog Posts by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Nayak
Discoverer
0 Kudos
206

Scenario:

Sending PDF attachment from an external system to OData API_CV_ATTACHMENT_SRV.  S4Hana system

 

Problem:

We are using HTTP sender & Receiver Adapter. While sending the attachment through Postman we are getting the 403 forbidden response from the OData with error “ CSRF Validation Falied

 

References:

The below are the blogs I followed but no luck.

https://community.sap.com/t5/technology-q-a/x-csrf-token-validation-failed-when-saving-data-to-on-pr...

https://help.sap.com/docs/SUPPORT_CONTENT/sci/3361897820.html

https://community.sap.com/t5/technology-q-a/sap-cpi-integration-content-x-csrf-token-failed-with-htt...

https://community.sap.com/t5/technology-blogs-by-members/handling-csrf-tokens-in-sap-cloud-platform-...

https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed/qaq-p/12524895

https://community.sap.com/t5/technology-q-a/csrf-token-validation-failed/qaq-p/12524895

iFLow

Nayak_0-1717052437908.png

 

 

 

 

 

Runtime Configuration

Nayak_1-1717052437915.png

 

 

Sender HTTP adapter

Nayak_2-1717052437927.png

 

Content Modifier

Message Header

Nayak_3-1717052437944.png

 

Exchange Property

Nayak_4-1717052437949.png

 

 

Groovy Script

Nayak_5-1717052437952.png

 

Receiver HTTP Adapter

Nayak_6-1717052437957.png

 

 

OData Response

Nayak_7-1717052437961.png

 

 

Labels in this area