cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTP request failed (403 Forbidden): CSRF token validation failed

prajeshdesai
Contributor
0 Likes
3,857

Hey Gurus,

I'm facing this weird issue in my custom UI5 application,

using OData model,

Request POST:

Payload Error:

Every thing is working fine in GW_CLIENT and POSTMAN.

Only facing issue when calling from UI5 app in chrome with disable cross.

Please help me with this, as i tried almost every thing and no luck.

View Entire Topic
jhodel18
Active Contributor

Hi Prajesh,

I don't see any session cookies from your Request Header so it's highly likely that is the issue.

When testing in Postman, the tool will handle the token for you. To simulate the error in postman, before sending the POST request, try deleting the cookies and you will also get the 403 error.

jhodel18
Active Contributor
0 Likes

You're welcome Prajesh!

If my answer helped you on finding the root cause of your issue, don't forget to mark the answer as accepted. Thanks!