My Oracle Support Banner

E1: ORCH: Downloading Media Object Files Via Orchestration REST API '/jderest/v2/file/download' Returns "Incomplete Binary Data Fails" Or "incorrect header check" in Release 23. Fixed in TR 9.2.7.4. (Doc ID 2958175.1)

Last updated on JANUARY 16, 2024

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 to 9.2 [Release 9.2]
JD Edwards EnterpriseOne Orchestrator - Version 9.2 to 9.2 [Release 9.2]
Information in this document applies to any platform.

Symptoms

Symptom 1:

From Tools Release 9.2.7.x onwards, while downloading the media object attachment using /jderest/v2/file/download from POSTMAN, the request is processing successfully but the downloaded file fails to open. Whereas when trying to download the file with /jderest/file/download, the request is processing successfully and the file is opening as expected.

It is observed that the downloaded files from the above mentioned methods are of different sizes, even though they are executed over the same media object file.

Steps to replicate:

 

Symptom 2: 

When using the  '/jderest/v2/file/download' API to download attachments. Everything works fine except xlsx file. The error in the postman response is:

 

 

Steps to replicate:

    1. Export any grid contents from a JDE form as an xlsx file
    2. Store the file locally
    3. Upload the file as media object to any JDE record
    4. Call the file/download API to fetch that file via Postman. The call will fail (above error).
    5. Open the locally saved xlsx file and do a 'Save As' and save with any name
    6. Upload this file as media object to any JDE record
    7. Call the file/download API to fetch that file via Postman. The call will be successful.

Changes

Upgraded tools release to 9.2.7.X

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
References


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