---
schema_version: "1"
id: 6b3e67b8ec28288fea50eba4cfdb48de85a9d6eed1a8bb73c7d714267c43f5a3
title: Troubleshooting Ingest Timeouts
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/api-asynch/guides/api-bulk-v2/datafiles/bulk-api-2-0-troubleshooting-timeouts.md
canonical_url: https://developer.salesforce.com/docs/platform/api-asynch/guide/bulk-api-2-0-troubleshooting-timeouts.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b8de2f669c3c3279309d4ccc4d5a03b8ce878def2cfbc9fa5ff026a4d1501c1e
products:
  - Bulk API 2.0 and Bulk API Developer Guide
  - Platform Developer Content
---

# Troubleshooting Ingest Timeouts

Solve issues encountered with Bulk API 2.0 ingest operations.

To troubleshoot an ingest timeout error, try the following suggestions:

1.  **Check your payload.**

    - Check CSV formatting. [Prepare CSV Files](https://developer.salesforce.com/docs/platform/api-asynch/guide/datafiles-prepare-csv.md)
    - Check Date formatting. [Valid Date Format in Records (2.0)](https://developer.salesforce.com/docs/platform/api-asynch/guide/valid-date-format-in-records-2-0.md)
    - Check Relationship fields. [Relationship Fields in a Header Row (2.0)](https://developer.salesforce.com/docs/platform/api-asynch/guide/relationship-fields-in-a-header-row-2-0.md)
    - Check that compression is gzip format. [Use Compression for Bulk API 2.0 Ingest Responses](https://developer.salesforce.com/docs/platform/api-asynch/guide/datafiles-use-compression.md)
    - Check that your data is organized to prevent lock contenttion. [Organize Data to Minimize Lock Contention](https://developer.salesforce.com/docs/platform/api-asynch/guide/datafiles-organize-data.md)

2.  **Create a new ingest job with only the failed and unprocessed records.**

    - To get the failed records, use [Get Job Failed Record Results](https://developer.salesforce.com/docs/platform/api-asynch/reference/get-job-failed-results.md).
    - To get the unprocessed records, use [Get Job Unprocessed Record Results](https://developer.salesforce.com/docs/platform/api-asynch/reference/get-job-unprocessed-results.md).

3.  **Divide the job into smaller jobs.**

    - Creating smaller requests may help to isolate problems in one or more jobs.

4.  **Review your custom logic, such as triggers or flows.**

    - Non-optimized custom logic can contribute to timeouts. In order to speed up insert, update, or delete operations, make sure triggers or flows are optimized. Consider temporarily disabling triggers or flows that are non-essential.

- **[Organize Data to Minimize Lock Contention](https://developer.salesforce.com/docs/platform/api-asynch/guide/datafiles-organize-data.md)**


    To minimize the potential for lock contention, consider pre-organizing your data when planning your Bulk API 2.0 data loads.

**See Also**

- [Errors](https://developer.salesforce.com/docs/platform/api-asynch/reference/bulk-api-2-0-errors.md)
