cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

X-CSRF validation failed as X-REQUESTED-WITH request header is missing

yashsap1
Participant
5,127

Hi,all i am integrating on premise s4 hana system with sap appgyver via sap CPI , will updating email id through IFLOW i am facig this issue

X-CSRF validation failed as X-REQUESTED-WITH request header is missing

,can any please tell how to resolve this

I am passing header X-REQUESTED-WITH through postman

previously it was showing could not be parsed into a proper Uri, missing scheme in sap error so, I have done this process to delete headers .

https://blogs.sap.com/2018/01/18/sap-cpi-clearing-the-headers-reset-header/

Accepted Solutions (0)

Answers (2)

Answers (2)

Sriprasadsbhat
Active Contributor
0 Likes

Hello Yash,

Easiest way to fix this error would be first use postman or any rest client to replicate the same scenario and note down required headers (using postman console) .Once you have the working scenario replicate the same in cloud integration.

Regards,

Sriprasad Shivaram Bhat

PriyankaChak
SAP Champion
SAP Champion
0 Likes

Hi Yash,

Have you allowed headers in the iflow?

Runtime Configuration -> Allowed Header(s) -> *

Regards,

Priyanka

yashsap1
Participant
0 Likes

It giving same error , i donot know why previously it was showing could not be parsed into a proper Uri, missing scheme, so i deleted all header and masking few.please let me know why this happening