SAP Knowledge Base Article - Preview

3070127 - CSRF token validation failed even though correct token is sent

Symptom

An error of "CSRF token validation failed" occurs when attempting to send a modifying request (POST, PATCH, etc; hereafter referred to as POST). This error persists despite providing the correct CSRF token (obtained from a previous GET request) in the header of the POST request.


Read more...

Environment

  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

SAP_SESSIONID_XXX, sap-xsrf_XXX, GET request, modifying request, CSRF token validation failed, CSRF token, validation failed, ICF, Internet Communication Framework, SICF, Service, Services, ICF service, ICF_GDPR, ICF_STD , KBA , BC-MID-ICF , Internet Communication Framework , OPU-GW-COR , Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.