In Salesforce, files attached under the Files related list may become unavailable for preview, showing a "File unavailable" error page instead of the file content.
To reproduce this issue:
This happens even though the same file downloads successfully and displays its content without issues. The file also previews correctly in a Sandbox environment, which confirms the file itself meets Salesforce's size and format requirements — the issue is specific to the Production environment's configuration.
This issue occurs because the "Enable Files for Connect" permission is disabled in the org's Production environment. This permission controls whether Salesforce Files Connect can generate and serve file previews — it's separate from file download access, which is why downloads still work while previews fail.
Raise a support case with Salesforce Support and request that they enable the "Enable Files for Connect" permission for your org. Once enabled, file and document previews will load correctly without the "File unavailable" error.
Salesforce Files: Troubleshooting Missing File Previews Due to MIME-Type Mismatch
Salesforce CRM Content and Files: File Preview Issues, Limitations, and Troubleshooting
005315516

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.