cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with CSRF token validation in SAP Mobile Cards

former_member730612
Discoverer

we are trying to create a Timesheet application in SAP mobile cards maintaining Fiori Odata service as the destination in mobile services. When we perform CRUD operations like Approve/Reject of the Timesheet , we face “403 Forbidden HTTP error with the error message :CSRF token validation failed".

we have passed the below parameters in the POST method of the approve action. we have taken these values from the payload request of the Fiori app

Request Header1:

Name value

x-requested-with XMLHttpRequest

Request Header2:

Name value:

x-csrf-token x-csrf-token

I have attached the error logs for referencetracelog.txt

Any help is appreciated.

former_member750489
Discoverer
0 Kudos

Hello dhana0110,

i have the same issue, i checked the Network Trace log und didn't find any Request that fetch the CSRF Token before the Put Request.

Did you find a solution to this Issue ?

Best regards

0 Kudos

same problem for me, how do you solve it?

ConorBrennan
Advisor
Advisor
0 Kudos

Hi I am having the same issue, Did anyone find a solution?

Accepted Solutions (0)

Answers (0)