How to Fix Power Apps PDF Viewer InputFormatNotSupported Error
Question details
The user needs to resolve an InputFormatNotSupported error that occurs when trying to display a PDF using the PDF Viewer control in Power Apps.

- Product
- Microsoft Power Apps
- Device & OS
- not provided
- Scenario
- Embedding or opening a PDF file within a Power Apps application using the standard PDF Viewer control.
- Observed behavior
- The PDF Viewer control fails to render the document, displaying an InputFormatNotSupported or notSupported error instead of the PDF content, both in the app and when opened in a browser.
Ensure that the PDF file you are trying to view is not corrupted and is hosted on a server that allows direct, unauthenticated access via an HTTPS URL.
Verify File URL Configuration and Consult Power Apps Community
Check if your PDF URL is correctly formatted and accessible, and seek guidance from Power Platform specialists for app-specific configurations.
The PDF Viewer control in Power Apps is highly sensitive to how and where the PDF is hosted. The InputFormatNotSupported error frequently occurs due to cross-origin resource sharing (CORS) policies, authentication barriers, or incorrect URL structures (such as viewing links instead of direct download links).
Check the 'Document' property of your PDF Viewer control. Ensure the URL ends in '.pdf' and is a direct link to the file, not a web page displaying the file.
Copy the PDF URL and open it in an Incognito or Private browsing window. If it asks for a login, the Power Apps PDF Viewer will not be able to render it directly.
Navigate to the Microsoft Power Platform Community (powerusers.microsoft.com) to search for similar issues.
Look up keywords like 'PDF viewer stop working' or 'InputFormatNotSupported' to find verified workarounds from other developers.
If you cannot find a solution, start a new thread detailing your app setup, PDF source (e.g., SharePoint, OneDrive), and viewer configuration so specialists can assist you.

Handle PDFs Smoothly with WPS Office
If embedded browser viewers and Power Apps controls continuously cause format errors, WPS Office provides a reliable, dedicated environment for handling your documents. It is a highly compatible, lightweight alternative to standard Office suites, allowing you to seamlessly manage standard formats without web-based restrictions.
- 1. Download WPS Office: Visit the official WPS website and download the free desktop or mobile application.
- 2. Open Your PDF: Launch WPS Office, click on 'Open', and select the problematic PDF file from your local storage or cloud drive.
- 3. View and Edit: Read, highlight, or edit the PDF seamlessly without encountering browser format support errors.

Frequently Asked Questions
Why does the Power Apps PDF Viewer show an InputFormatNotSupported error?
This error generally happens when the viewer control cannot fetch the file. It is typically caused by the PDF URL requiring user authentication, restrictive CORS policies on the hosting server, or using a shareable web link instead of a direct file path.
Can the Power Apps PDF Viewer display local files directly?
No, the standard PDF Viewer control in Power Apps requires the PDF to be hosted online with a valid HTTPS URL. It cannot natively browse and display files stored purely on your local device.
What is an alternative to using the PDF Viewer control in Power Apps?
A common workaround is to use the 'Launch()' function in Power Apps. By placing a button that triggers Launch(YourPDFURL), you can open the PDF in the user's default web browser or native PDF application, which often bypasses the control's rendering limitations.




