Symptom
Previewing apps from BAS showing the following error messages:
Sorry, a technical error occurred! Please try again later.
\{
"message": "HTTP request failed",
"headers": [],
"statusCode": 403,
"statusText": "",
"responseText": "CSRF token validation failed"
While checking the http trace, it's found that in the response header of each HEAD request, the x-Csrf-Token value is a different one. And the POST request then failed with 403 error.
There's no issue while opening the same app which has been deployed in ABAP (for example).
Read more...
Environment
- SAP Business Application Studio
Keywords
csrf token validation failed, bas preview, multiple odata services, x-csrf-token, http head, inconsistent csrf token, session cookie, cookie size limit 4096, arbe cookie, fiori local run, preview post fails, approuter, redis session store, browser cookies, session stickiness , KBA , CA-BAS-FS , File System,Logging,Operator Clusters , 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.
SAP Knowledge Base Article - Preview