Skip to Content
Sep 15, 2020 at 01:58 PM

CSRF token validation failed in SAP Cloud SDK OData Generator


Hi Experts,

I have generated OData client for custom business object created in S/4 HANA 1909. When i am trying to create an entity using the generated class end up in following error "CSRF token validation failed". Any help?

As per the documentation the create request will fetch CSRF token before issuing the actual create request.