> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/faqs/salesforce-storage-limit-exceeded.-what-should-i-do.md).

# Salesforce Storage Limit exceeded. What should I do?

If you have received an alert from Salesforce that your storage limits have been exceeded, don't panic! SharinPix stores your actual photos outside of Salesforce, and resolving this issue is usually a straightforward process of managing metadata records or generated files.

This guide will help you identify the root cause and safely free up space in your org.

## 1. How does SharinPix handle storage?

To troubleshoot storage issues, it is important to understand the two different types of storage in Salesforce:

* **File Storage**: This accounts for physical documents, attachments, and files. SharinPix does not use Salesforce File Storage for your photos. All images uploaded via SharinPix are stored securely on our AWS servers, giving you unlimited storage for the pictures themselves.
* **Data Storage**: This includes standard and custom Salesforce records (metadata, text, and relationships). SharinPix consumes Data Storage when it creates records to represent your images or form answers within Salesforce.

## 2. Identifying Which Storage is Full

Before taking action, you must determine whether *Data Storage* or *File Storage* is causing the overage.

#### How to check:

1. In Salesforce, go to **Setup**.
2. Search for and click on **Storage Usage**.
3. Review the breakdown to determine whether the issue falls under **Data Storage** (Records) or **File Storage** (Files/Content Documents). Look specifically for SharinPix-related objects that occupy a large percentage of the space.

<figure><img src="/files/4GSQCNeCNVyHYRyLY50Y" alt=""><figcaption></figcaption></figure>

## 3. If Data Storage (Records) is Exceeded

If your Data Storage is full, it is likely due to the accumulation of SharinPix custom records over time.

### Cause A: `SharinPix Image` Records

When [Image Sync](/documentation/image-sync/what-is-sharinpix-image-sync.md) is enabled, SharinPix generates one `SharinPix Image` Salesforce record for every file uploaded. This object stores metadata (URL, filename, associated record) so you can use the images in Salesforce automations, reports, or document generation.

* The Solution: You can safely bulk delete old `SharinPix Image` records (e.g., via SOQL query or Data Loader) for closed Opportunities, old Work Orders, etc.
* Will deleting these records delete the photos? No. Deleting the `SharinPix Image` record does not delete the original photo from AWS. Users will still see all photos normally in the SharinPix Album component.

{% hint style="danger" %}
Important Note: Before deleting `SharinPix Image` records, confirm internally if they are actively being used in reports, automated PDF generation, or customer-facing documents. If they are, those specific records should be retained.
{% endhint %}

#### What if I need the Image records back later?

As long as the original file exists on AWS, `SharinPix Image` records can be recreated at any time:

* For individual records: Use the [Resync button](/documentation/lightning-web-component/sharinpix-album-resync.md) on the SharinPix Album.
* For bulk records: Run a [batch resync operation](/documentation/image-sync/how-to-use-image-sync-on-multiple-albums-batch.md).

{% hint style="warning" %}
Note: Users performing a resync must have the `SharinPix Image Sync Permission` permission set.
{% endhint %}

### Cause B: SharinPix Form Feature Records

If your organization uses SharinPix Forms, you may have a high volume of `Form Response` and `Form Answers` records. Every time a form is completed, these records are generated to capture the input data.

* **The Solution**: Similar to Image records, evaluate your data retention policy. You can export and archive older `Form Response` and `Form Answers` records to free up Salesforce Data Storage.

{% hint style="warning" %}
Note: Removing `Form Answers` does not affect the associated `Form Response`. The submitted form data is still available in SharinPix.
{% endhint %}

#### What if I need the Form Answers records back later?

Try to upsert its Form Response on Salesforce:

1. Go to **SharinPix Settings**.
2. Click **Go to Administrative Dashboard**.
3. Open the **Form Responses** tab.
4. Identify the Form Response you want to upsert using its Public ID or **Salesforce Record ID**.
5. Click **Upsert on Salesforce** to upsert the record.

If you need help, contact [SharinPix Support](/getting-started/how-to-contact-support.md).

<figure><img src="/files/DaFRCX4qYkb9NxenWTd2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/qrhWNRbl21Fkay8Z081d" alt=""><figcaption></figcaption></figure>

## 4. If File Storage (Files/Documents) is Exceeded

If your File Storage is full, it is not due to the photos themselves, but rather to files generated and explicitly saved in Salesforce.

### Cause: Generated PDFs & Content Documents

If your org uses SharinPix to generate PDFs (such as inspection reports, summaries, or customer-facing documents) and you have configured the system to save these PDFs as standard Salesforce Files/Content Documents, this can quickly consume File Storage.

* **The Solution**: If you still need access to these generated documents, you can upload the PDFs directly into SharinPix, using the [album component](/documentation/lightning-web-component/sharinpix-album-lwc.md), for instance. Once uploaded, users can view them seamlessly through standard SharinPix components. Because the PDFs are now safely stored in SharinPix's unlimited AWS storage, you can safely delete the original Content Documents from Salesforce to recover your File Storage space.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sharinpix.com/faqs/salesforce-storage-limit-exceeded.-what-should-i-do.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
