Users may encounter the following error when attempting to attach or upload a file to a record in Salesforce Lightning Experience or a Lightning-templated Experience Site (Community):
"Can't upload FileName." followed by "Can't add 1 file to ObjectName."
When does this error occur?
This error is known to occur when:
Note: In a community group, users may also see this error when trying to upload a file to an archived group. The only indicator that a community group has been archived is that the Chatter Publisher is missing.
Follow the steps below based on the most likely cause of the error in your organization.
Review Content Version Custom Field Requirements
Content Version Validation Rules can also generate this error. Navigate back to Salesforce Files (Classic) or Content Version (Lightning) and click Validation Rules. Temporarily deactivate or modify the validation rule to test.
If Apex Triggers Exist on Content Objects
Troubleshoot in a sandbox by marking the triggers inactive to test whether the error persists. See Disable a Salesforce Trigger in a Production Environment for more details.
If File Storage is Exceeded
Check File Storage and confirm it is at or below 100% capacity. Navigate to Data and Storage Resources for instructions. If the org has exceeded the limit, delete files or request a storage increase.
Related Issue — Private Chatter Group
If a user in a Private Chatter Group sees "Can't upload Filename" when dragging/dropping or selecting files from "Files", but is able to upload via the Chatter Publisher — log a Support case to enable "Content Delivery Setup."
If none of the above solutions resolve the upload error, create a Support case.
Error 'Can't Upload' on attempt to attach or upload Files on a record
Customize Page Layouts with the Enhanced Page Layout Editor
Edit Picklists for Record Types and Business Processes
Files and Content: What’s Different or Not Available in Lightning Experience
000381870

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.