SAP Knowledge Base Article - Preview

3078309 - Payroll Control Center: CSRF token validation failed

Symptom

  • When accessing Payroll Control Center from Employee Central (e.g. My Processes and other application under Payroll menu) the application raises a technical error with HTTP status code 403 and text “CSRF token validation failed”. This symptom occurs in Google Chrome and Microsoft Edge browser version 91 and above but it may not occur in Mozilla Firefox, or when accessing Payroll Control Center as a standalone application.

Note: It may occur in all mash-up scenarios for ECP. The symptom for customer with SSO also configured might be different.

  • Or you are getting the following error message: 

    Sorry, a technical error occurred! Please try again later.

    "requestUri": "/sap/opu/odata/sap/PYC_CONF_SRV/$metadata?sap-client=100&sap-documentation=heading&sap-language=EN", "statusCode": 200, "statusText": "OK", "headers": [], "body": ""

  • Or you are getting the following error message:

    "requestUri": "/sap/opu/odata/sap/PYC_PROCESS_MANAGER_SRV/$metadata?sap-client=100&sap-documentation=heading&sap-language=EN", "statusCode": 200, "statusText": "OK", "headers": [], "body": ""

(Client 100 can be substituted by your relevant client)

  • Or by pressing F12 to open the browser console you may also find "Uncaught SyntaxError: Unexpected token '<'".


Read more...

Environment

  • Human Capital Management (HCM)
  • SAP R/3
  • SAP ERP Core Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA 

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP SuccessFactors Employee Central Payroll all versions ; SAP SuccessFactors Employee Central all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

cross-site request forgery, CSRF, token, validation, samesite, cookie, SameSite, Chrome, Edge, Firefox, Payroll Control Center, PCC, EC, Employee Central, unexpected token

[2:46 PM] Martinez Escribano, Carlos "/sap/opu/odata/sap/PYC_PROCESS_MANAGER_SRV/$metadata?sap-client" , KBA , PY-XX-PYP , Payroll Control Center , 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.