Skip to Content
0
Jul 16, 2020 at 03:41 PM

CSRF Token issues with $batch in Business Application Studio using an On Premise System

3908 Views Last edit Jul 16, 2020 at 03:44 PM 2 rev

I'm porting an application (FIORI Elements v2 List Report) out of WebIDE into BAS. This is using a connection to an on premise gateway server. Every $batch request 403s with a reponse of "CSRF token validation failed"

On the request header, the csrf is there

x-csrf-token: 1zDBk6P2sJotQ96Hhyg7VQ==

on the 403 response header, it is set to "Required"

x-csrf-token: Required

Any ideas?