> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/inforiver-enterprise-on-prem/troubleshooting-steps/fix-for-sql-bulk-load-issue.md).

# Fix for SQL Bulk Load issue

This section describes the steps to potentially resolve the SQL bulk load issue.

{% hint style="info" %}
Error category - SQL Bulk Load, 502  Bad Gateway
{% endhint %}

1. Open the Front Door Manager by selecting **Front Door manager** under the 'Settings' menu.

<figure><img src="https://4102771481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftn9fmavAcyzaE7MAMP2U%2Fuploads%2FAr4ns5bLlJnoX455YQ9w%2Fimage.png?alt=media&amp;token=6f3b3284-e250-4030-9ac9-03d894aeade2" alt="" width="244"><figcaption><p>Front Door Manager</p></figcaption></figure>

2. From the list of endpoints configured in the front door manager, select the 'Route' that has been configured for the Inforiver application.&#x20;

<figure><img src="https://4102771481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftn9fmavAcyzaE7MAMP2U%2Fuploads%2FA6buJ4FNwlVAqeup7RQr%2Fimage.png?alt=media&amp;token=252f3bf5-4515-4b9a-abe2-1bef4cc0c7b4" alt=""><figcaption><p>Select the route</p></figcaption></figure>

3. Click on the '...' menu and then choose **Edit route.**&#x20;

<figure><img src="https://4102771481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftn9fmavAcyzaE7MAMP2U%2Fuploads%2FrWSfjco4u9A2AzodVnBJ%2Fimage.png?alt=media&amp;token=bf359ffd-7f8f-4088-a0f2-88447546daff" alt=""><figcaption><p>Edit route</p></figcaption></figure>

4. Disable the 'Caching' and 'Compression' options for this endpoint.

<figure><img src="https://4102771481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftn9fmavAcyzaE7MAMP2U%2Fuploads%2FgRBPEKljtkdY0GALr3Do%2Fimage.png?alt=media&amp;token=2d3e552a-2067-4333-907a-9795715956ba" alt=""><figcaption><p>Disable the selected options</p></figcaption></figure>

5. Once these checkboxes are unchecked, click **Update** to save the configuration.

<figure><img src="https://4102771481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftn9fmavAcyzaE7MAMP2U%2Fuploads%2FvuCVJziHDYByYir8aM5V%2Fimage.png?alt=media&amp;token=90fbe9b7-0628-410d-8173-c6bdfc860338" alt=""><figcaption><p>Click 'Update' to save</p></figcaption></figure>

**Reason**

Azure Front Door is primarily a CDN service with features like Application Gateway and firewall capabilities. Like a typical CDN, Azure Front Door accelerates the content delivery by caching and compressing files. However, for larger files from Blob Storage, compression can alter the content length, causing issues with proper handling by certain services. So, it is recommended to disable compression and caching.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.inforiver.com/inforiver-enterprise-on-prem/troubleshooting-steps/fix-for-sql-bulk-load-issue.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
