My Oracle Support Banner

How to Handle UTL_HTTP Response > 32k? (Doc ID 1072214.1)

Last updated on JANUARY 29, 2022

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.


Using UTL_HTTP to read a response from a web service that returns an XML document and passes that buffer to XMLTYPE function fails with:

ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00007: unexpected end-of-file encountered
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at line 46


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.