Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

oData authorization error

$
0
0

Dear experts,

 

 

Good day.

 

I have created trial account and using odata service to expose my own table.

 

The service generated correctly, I could visit service by url https://...myhanaxs/mytable.xsodata and https://...myhanaxs/mytable.xsodata/$metadata correctly.

 

But after that, if i want to visit the details under my odata, the system will raise error below:

 

exception 1: no.71000258 (ptime/query/checker/query_check.cc:2422) Not authorized NO exception throw location recorded. Stack generation suppressed.


For fix this error.


I created the role to grant my authorization in my object:


sql object ixxxxtrial:mypath:mytable.hdbtable: SELECT,INSERT,DELETE,DROP;

 

Then call the HCP procedure to grant the role to my own user. In this step, i got one exception:5-7-2015 4-56-56 PM.jpg


I have totally no idea about this exception, cause system raise this message about I have no authorization for my own table in my own schema.

 

I think I must missed something which will cause the error.

 

Could anyone please help me about privileges error?

 

Thanks in ton and have a nice day.

 

best regards,

 

Andy Zhang


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>