cancel
Showing results for 
Search instead for 
Did you mean: 

CSRF Token Missing Error in Android OData Service

Sharon_Shaji
Explorer
0 Kudos
212

Hello everyone,

I’m currently facing an issue with my application. It works perfectly in Cloud Foundry (Web), but when I deploy it in Mobile Services (Android), I encounter a “CSRF token is missing” error when posting data.

I’m working on an Android application that interacts with an OData service, and I need guidance on retrieving the CSRF token. I understand that CSRF protection is crucial for secure API calls, but I’m unsure how to implement this in my Android app.

Could anyone provide a step-by-step approach or share code snippets on how to obtain the CSRF token for an OData service? I’ve checked my configurations and ensured that CSRF protection is enabled, but the problem persists.

Has anyone else experienced this issue? Any insights or solutions would be greatly appreciated!

Thank you in advance for your help!

View Entire Topic
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

@Sharon_Shaji As mentioned in my previous response, we need to understand how you are calling the API in the app and the relevant details around this. Please open a support ticket with all of this information.