function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
fgwarb_devfgwarb_dev 

salesforce content "file already uploaded, please change title to proceed"

I'm trying to log the fact that a file has been downloaded out of a Salesforce Content Library.  This has been working for awhile, but one of our testers just managed to make it throw the error in the title "File already uploaded, please change title to proceed".

I can't find this error message documented anywhere, but it seems to occur if you have two contentversion records in the same library with the same name.  This shouldn't be an issue IMO since I was using the update and/or upsert command (upsert was matching against the ID field).

However, following the instruction and changing the title of the document in conjunction with the update call solved the problem.  So, future readers, just do as the error message suggests and change the title.