on 04-25-2014 4:06 AM
hello guys:
i am installing the fiori apps my leave request on gateway. everything seems ok, exception i got this error.
POST http://aunswdnwgv01.production.transfieldservices.com:8095/sap/opu/odata/GBHCM/LEAVEREQUEST;v=2/Leav...
403 (Forbidden)
i can send the request to Manager and view the Pending leave reqest. any idea about this issue ?
thanks
tony
Tags edited by: Michael Appleby
Hi Tony,
Please take a look SAP Fiori LL11 - Consultants should know about OData troubleshooting.
Probably you see CSRF token error in console tab of inspect element.
Regards, Masa
SAP Customer Experience Group - CEG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Masa:
thanks for your reply. i see this error in the Chrome Console log. But everything seems ok. because the leave request can be sent to the Manager. and When the Manager log in the Approve Leave request apps. he can see this leave request coming from the user.
so do i need care about this error ?
i have searched discussions and found
will this help me ?
Thanks
tony
CSRF token error would need to be fixed.
Please check
Also check this post
hello Ashish:
i have followed your blog and upgrade the sapui5 to 1.18.3. also clear cache by click the 'system-wide' in SITSPMON
and also add the param for odata config like this
but i still got the post error like this.
however, on the backend, when i run the 'PTARQ', i can see the leave request coming through.
so any steps i missed ?
thanks
tony
Hi Tony,
Please try post method from GW client and see if you get this error. Once you get this error, please check the error logs and then go to application log and expand all red color nodes. You should get some errors like :
2
3
4
Also when you create a leave from the backend using same dates, do you get any warning ? If yes, then may be this warning is showing in Fiori as error. Because you can see the request going to approver and you dont have issue in approving also. My thinking is that, you are getting a warning message from backend as per your custom config
Regards,
Tejas
hello guys:
I finally find that it will try do the post first and if it fail it will then use fetch to get the csrf token. that's why it got this error. and can successfully send the leave request.
but i just can not understand why it try to post first, not fetch the csrf token ?
any one who have an idea ?
thanks
tony
Hi Tony,
Please check your http/https setting.
1896961 - HTTP/HTTPS Configuration for SAP NetWeaver Gateway
Regards, Masa
SAP Customer Experience Group - CEG
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.