Storage limit exceeded

Resolve: Storage limit exceeded

Fix - Storage limit exceeded

If receiving storage limit exceeded messages in production, you have to contact Sales.

Using Developer Console Execute following code to fix this error:

Note: Do not run this code snippet in Production/AT/QA Environments. 

Solution 1:

List<ltnadptn__Lightning_Adoption_Report_Snapshot__c> lst = [SELECT Id FROM ltnadptn__Lightning_Adoption_Report_Snapshot__c];
delete lst;

Solution 2

Database.delete([SELECT Id from ContentDocument], false);

Other Solutions

1 : Delete Test Records

2: Delete Non Required Asset Files

3 : Contact SF Sales to increase storage.

Leave a Reply