Skip to Content

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

Jan 20, 2017 at 11:13 AM


avatar image
Former Member


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 ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Janos Dezsi
Nov 20, 2017 at 04:28 PM


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


10 |10000 characters needed characters left characters exceeded