# 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="/files/gdG55jjiuFaJXE9n9lK2" 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="/files/xxtaa8b2yJNyfy88JBC9" alt=""><figcaption><p>Select the route</p></figcaption></figure>

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

<figure><img src="/files/Au0IqF76wJ25QAqkLSyG" alt=""><figcaption><p>Edit route</p></figcaption></figure>

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

<figure><img src="/files/sVXQJIywR7cZm5UqQW88" 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="/files/uvNcLsd9fCnt4uU5auvA" 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
