cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to fetch X-Csrf_token through .net application in odata gateway service.

Former Member
0 Kudos

Hi,

We have implemented Odata gateway service in SAP ECC and maintained all the entries in sicf transaction. While using this service and posting data through .net application we require X-CSRF-Token .But this token is not getting generated at the time of GET method in sap side. Hence, .net application is not able to fetch the Token. Can anyone suggest how we can enable this token ?

Accepted Solutions (0)

Answers (1)

Answers (1)

janosdezsi
Product and Topic Expert
Product and Topic Expert

Hi,

Please make sure that SAP Note 1896961 - "HTTP/HTTPS Configuration for SAP NetWeaver Gateway" is followed completely.

Also please check:

2419995 - Error in Gateway Client: 403 Forbidden "X-CSRF token is needed for Batch Proces

2388330 - X-CSRF-Token: required header is missing in the response

1976165 - Missing some request headers in batch operations 2025868223Batch operation result empty when one operation is erroneous

Thanks,
Janos