Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

utl_http insufficient privileges on autonomous database

KeyserSep 23 2019 — edited Sep 23 2019

Hi,

I've signed up for the "always free" autonomous database, it's great!

But, I get....

ORA-29273: HTTP request failed

ORA-06512: at "SYS.UTL_HTTP", line 1530

ORA-01031: insufficient privileges

when i try...

SELECT utl_http.request('http://www.oracle.com/') FROM dual;

when connected as the ADMIN user

I can't GRANT EXECUTE to utl_http from SYS AS SYSDBA because...

Customers are not given OS logons or SYSDBA privileges to prevent phishing attacking.

So is utl_http not allowed on autonomous databases?

I am aware of ACL but I don't think I've even got that far yet, i've fallen at the first hurdle.

I need to get my data from a third party website (oracle.com above was just an easy example), so any alternative solutions would also be welcome

Thanks

Mark

This post has been answered by BPeaslandDBA on Sep 23 2019
Jump to Answer
Comments
Post Details
Added on Sep 23 2019
4 comments
1,121 views