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!

OCI Document Generator Function with Apex

shekhar chandel3 days ago

I configured pre built document generator function using OIC and calling my oracle apex shared component report using this

Now my data file in json format is creating successfully on my oci bucket and my template is also present in my bucket But whenever i am calling my report its showing bad request 400

Not Authorized

When we check function log its show request type missing

Error "Bad Request" invoking Oracle Document Generator Pre-built Function:

OBS828 Error reading '161/template/TEST.xlsx' from Object Storage: Error returned by GetObject operation in ObjectStorage service.(404, BucketNotFound, false) Either the bucket named '12345xcvbnm' does not exist in the namespace '123456' or you are not authorized to access it

log

"message": "PBF | Document Generator | ERROR | 2025-08-08T07:50:05.345609782Z | 4. DGN800 - JSON Parsing error near '}\\r",  
  "opcRequestId": "/01K24AH2S500000000000BT0AM/01K24AH2S500000000000BT0AN",  
  "requestId": "/01K24AH2S500000000000BT0AM/01K24AH2S500000000000BT0AN",  
  "src": "STDERR"  
},
Comments
Post Details
Added 3 days ago
1 comment
48 views