Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
PDF Returns as blank document when retrieving in VBCS through OCI Object Storage REST API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

PDF Returns as blank document when retrieving in VBCS through OCI Object Storage REST API

Received Response
13
Views
9
Comments

Summary:

We have a process to download a file from an OCI Object Storage bucket, which is breaking down when the Content-Type is pdf

Content (required):

We are leveraging OCI Object Storage to store documents (.pdf, .png, .txt) files. We have built a function to retrieve these documents via a REST API call in VBCS. This process works when dealing with .png & .txt files, however, when we retrieve a .pdf file the file opens as a blank white screen.


Any thoughts?

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!