ORA-28768: Bad Magic Number While Trying To Use UTL_HTTP in 12c

(Doc ID 2045075.1)

Last updated on JULY 09, 2017

Applies to:

Advanced Networking Option - Version and later
Information in this document applies to any platform.


UTL_HTTP fails with the following error message in 12c:
ORA-28768: bad magic number error

There are no issues with ACL configuration.


 Database was upgraded from 10g ( to 12c (


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms