on 2015 Aug 31 12:55 PM
Hi,
I have a Hana XS Engine with an odata service. The service allows me to read the data of my tables. As soon as I want to Create, Update or Delete an entry I get the 403 - Forbidden error Page returned.
My user actually has the required rights to execute one of these actions (it works in Hana Studio with the sql command line), but I additionally tested it with the system user and got the same result.
Is this a known issue or is there a solution to my problem?
Thank you in advance!
Request clarification before answering.
Hi Yannick,
Even i'm facing the same issue. I have updated my xsaccess file too.
{
"exposed": true,
"authentication": [{
"method": "Basic"
}],
"default_file": "index.html",
"cors" : { "enabled" : true, "allowMethod":["GET","POST","HEAD","DELETE","OPTIONS"]}
}
Could you please explain how you resolved the issue..?
Regards,
ThamizharasaN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frankie,
Yes the problem is solved. First check whether you have the needed privileges. Then we need to do one more thing to make it work. Just navigate to /sap/hana/xs/admin/ in your system, select your application and check whether the update, create and delete are there in allowed methods. After this everything went fine for me.
Regards,
ThamizharasaN.
Hi Animesh,
if you are getting 403 - Forbidden error try modifying your xsaccess file like this:
{
"exposed" : true,
"cache_control" : "must-revalidate",
"cors":
{
"enabled":true,
"allowMethods": ["GET","POST","DELETE","PUT"],
"allowOrigin": ["*"],
"maxAge":"3600"
},
"enable_etags" : false,
"force_ssl" : false,
"prevent_xsrf" : false
}
especially the cors part solved the issue for me.
Best regards,
Yannick
Hi Arkajeet,
Just go to the admin console in HCP
https://<<you hcp system url>/sap/hana/xs/admin/
There you can find your application under xs artifact administration application objects.
Regards,
ThamizharasaN.
User | Count |
---|---|
58 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.