My Oracle Support Banner

Downloading PDF Files from WebCenter Portal on Android App Using WebView Returns: Cannot display PDF (PDF name is of invalid format) (Doc ID 2740860.1)

Last updated on JANUARY 05, 2021

Applies to:

Oracle WebCenter Portal - Version 12.2.1.3.0 to 12.2.1.4.0
Information in this document applies to any platform.

Symptoms


When attempting to download pdf files from WebCenter Portal on the Android App using WebView returns the below error:


ERROR

Cannot display PDF (PDF name.pdf is of invalid format)



STEPS

The issue can be reproduced at will with the following steps:

  1. Open WebCenter Portal page from Android App using WebView.
     
  2. Download a pdf file.
    Here you will see the error.
     
  3. Access a non WebCenter page from Android App using WebView.
    Download a pdf file via static link.

  4. You will see the PDF file downloads completely fine on Android App.
     

 

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.