Closed jgoodAI closed 6 years ago
Hi @jgoodAI, sorry for late reply, I've (obviously) been running behind on following up on blog and GitHub comments.
The ContentPublication Limit Exceeded error refers to orgs having a limit in a rolling 24 hour period of how many Files (ContentVersion object) can be created. Please see this FAQ for links to more details on the limit differences between sandboxes and production orgs.
Production orgs have 200,000 limit per 24 hours, but that includes actions by users, data loaders, integrations, etc. that may also be creating Files in your org. Unfortunately, Salesforce does not expose how close to the limit you are, just an error once it's been hit =(
Thanks, Doug. I saw that there is another issue regarding this topic, and the fix was to request an increase to this limit. I will try that.
Jennifer
From: Doug Ayers [mailto:notifications@github.com] Sent: Tuesday, July 10, 2018 9:27 PM To: douglascayers/sfdc-convert-attachments-to-chatter-files sfdc-convert-attachments-to-chatter-files@noreply.github.com Cc: Jennifer Good JGood@accessintel.com; Mention mention@noreply.github.com Subject: Re: [douglascayers/sfdc-convert-attachments-to-chatter-files] ContentPublication Limit exceeded Error (#53)
Hi @jgoodAIhttps://github.com/jgoodAI, sorry for late reply, I've (obviously) been running behind on following up on blog and GitHub comments.
The ContentPublication Limit Exceeded error refers to orgs having a limit in a rolling 24 hour period of how many Files (ContentVersion object) can be created. Please see this FAQhttps://github.com/douglascayers/sfdc-convert-attachments-to-chatter-files#max-documents-or-versions-published-governor-limit for links to more details on the limit differences between sandboxes and production orgs.
Production orgs have 200,000 limit per 24 hours, but that includes actions by users, data loaders, integrations, etc. that may also be creating Files in your org. Unfortunately, Salesforce does not expose how close to the limit you are, just an error once it's been hit =(
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/douglascayers/sfdc-convert-attachments-to-chatter-files/issues/53#issuecomment-404015425, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmsjNwA4VaXECpCwHkVxjfwmPBduZ7tPks5uFVRygaJpZM4U2iCf.
I ran a full test of all attachments in my sandbox, and am getting this error in the Apex Jobs log: "ContentPublication Limit exceeded." It shows 1524 batches processed, but 1455 failures. Any idea what would be causing this error? I have 152,000 attachments.