Users encounter various file upload failures when attempting to upload files through UI (Lightning Experience, Classic), Salesforce Experience Sites, Apex or Salesforce Flows .
File upload dialog fails to open or appears but upload process fails
Error messages such as "Can't upload [filename]" or "We can't complete the file upload. Please try again later."
Browser console shows "400 Bad Request" or other HTTP error codes during upload attempts
Files upload successfully but cannot be accessed or downloaded afterward
Lightning File Upload component fails to initialize or becomes unresponsive
Before reporting file upload issues to Salesforce Support, follow these troubleshooting steps to help Salesforce support understand the issue better:
Verify whether there was a recent change to custom code (Apex, Triggers, Flows, LWCs etc) that might affect file uploads
Check if any Apex triggers exist on ContentDocument, ContentVersion, and ContentDocumentLink entities
If triggers exist, temporarily disable them to test if the issue persists
If disabling triggers resolves the issue, review trigger logic for permission and sharing rule conflicts
Test with minimal custom code to isolate platform malfunctions
Check if any recent deployments, configuration changes, or Salesforce releases coincide with the issue onset
Verify that any managed packages or third-party integrations haven't introduced conflicts
In case Experience Sites, review recent changes to Experience Site configurations or custom components
Test with different user profiles to determine if the issue is profile-specific
Verify that users have access to the records with which files are being shared
Ensure that any custom sharing logic doesn't conflict with standard Salesforce file sharing mechanisms
Check that any custom field references in file upload components are accessible to the uploading user
Test file upload functionality in different environments to isolate org-specific configurations
Test file upload functionality for users with different geographies to rule out geographic restrictions.
Verify whether users uploading files are member of the Library (ContentWorkspace)
Verify that users uploading files have appropriate access to the target Library or Folder. Users should have at least “Author” access to the Library to be able to upload a file.
Should the issue persist, please contact Salesforce Support with details of your troubleshooting steps above. It would be helpful if you can also provide below details,
Apex debug logs for users experiencing the issue
Browser network logs (HAR files) during failed upload attempts
Specific error messages and internal server error Id details
005226951

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.