My Oracle Support Banner

APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT Fails for XLS, HTM and XML Formats in APEX 20.1 (Doc ID 2740020.1)

Last updated on FEBRUARY 09, 2023

Applies to:

Oracle Application Express (APEX) - Version 20.1 to 20.1
Information in this document applies to any platform.


When using BI Publisher as the Print Server some requests work (pdf / rtf):


pdf - documented and works
rtf - documented and works
xlsx - not documented but seems to work
html - not documented but seems to work
xls - documented but does not work
htm - documented but does not work
xml - documented but does not work

The documentation referenced:

When the failure occurs, it throws variations of the following error:
javax.servlet.ServletException: Document format not supported: htm
at oracle.xdo.servlet.Converter.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.StubSecurityHelper$
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.TailFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(


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.