My Oracle Support Banner

Content and Experience Cloud (OCEC) Download Rest API Returns Invalid File Name (Doc ID 2440908.1)

Last updated on SEPTEMBER 18, 2019

Applies to:

Content and Experience Cloud Service - Version N/A and later
Content and Experience Cloud Classic - Version 18.1.2 and later
Content and Experience Cloud - Version N/A and later
Information in this document applies to any platform.

Symptoms

OCEC Download API returns invalid file name instead of the original file name.  For example when trying to download "xxxxx.pdf" file and API returns as "download.pdf" or "response.pdf".

Steps to Reproduce:

Used a GET request to download a pdf file in POSTMAN as follows:
https://<cec instance>/documents/api/1.2/files/xxxxxx/data
This is a pdf file that has a name called xxxxxx.pdf
The Save dialog box has the File Name listed as "download.pdf"

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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