Skip to Main Content

APEX

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!

Urgent: OCI Document Generator + APEX – Production Readiness & Error Fixes Needed

shekhar chandelAug 12 2025

Hi Oracle Community,

We’re integrating the OCI Document Generator pre-built function with Oracle APEX 24.2 to generate Excel reports from MS Excel templates + JSON data. but Report Excel generation is failing

Document I followed :https://blogs.oracle.com/apex/post/seamless-pdf-generation-with-oracle-apex-and-oci-document-generator

Seamless PDF Generation with Oracle APEX and OCI Document Generator

In APEX 24.1, we can now easily integrate the Document Generator Service by configuring it as a remote print server. You can develop your templates in a Word document, which the PDF engine combines...

Questions:

1. Is the OCI Document Generator production-ready with APEX 24.2 ? Known bugs or limitations?

Our Setup:

APEX 24.2 above on Autonomous Database

Error:

An internal error has occurred while processing the DBMS_CLOUD request.

Technical Info (only available for developers)

  • is_internal_error: true

  • apex_error_code: APEX.DBMS_CLOUD_INT.DBMS_CLOUD_ERROR

  • ora_sqlcode: -20409

  • ora_sqlerrm: ORA-20409: Request failed with status HTTP 409 -

    Error response - {"code":"BucketAlreadyExists","message":"Either the bucket '8098836259016962' in namespace 'ax5cdd9zuvvh' already exists or you are not authorized to create it"}
    ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD$PDBCS_250711_0", line 2233
    ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD$PDBCS_250711_0", line 14368
    ORA-06512: at line 4
    ORA-06512: at "SYS.DBMS_SQL", line 1721

For those who’ve successfully deployed this in production, how did you resolve errors ? Any specific configurations (e.g., memory, timeout, or IAM policies) that worked?

Are there updated resources, patches, or workarounds beyond the Oracle Docs and Sample App?

Any guidance or proven solutions would be greatly appreciated.

Comments
Post Details
Added on Aug 12 2025
1 comment
120 views