> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTP Error 413 when processing a batch

> Fix the HTTP 413 error on a FlexiCapture Web Station by raising the IIS request-filtering content-length limit beyond the default 30 MB in IIS Manager.

IIS applies a built-in filter that limits the size of HTTP requests, set to 30 MB by default. An action on a Web Station that exceeds the limit reports `Cannot connect to 'AppServer' (error code: (HTTP 413, 19, 0))`.

## Raise the request size limit

<Steps>
  <Step title="Open IIS Manager">
    Click **Control Panel → System and Security → Administrative Tools → Internet Information Services (IIS) Manager**.
  </Step>

  <Step title="Open the filtering settings">
    Navigate to **Sites → Default Web Site → FlexiCapture12 → Server → Request Filtering**.

    <Frame>
      <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/TG_Proccessing_WebStation_4.png?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=4d8caac3acfba2ca0fad4e4dd36cbb00" alt="Screenshot of IIS Manager with the Request Filtering settings open under Sites, Default Web Site, FlexiCapture12, Server." width="800" height="521" data-path="images/flexi-capture/TG_Proccessing_WebStation_4.png" />
    </Frame>
  </Step>

  <Step title="Edit the feature settings">
    On the **Hidden Segments** tab, click **Edit Feature Settings**.

    <Frame>
      <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/TG_Proccessing_WebStation_6.png?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=7b9b81c1b4845a87b74f7bfc4b9d2cba" alt="Screenshot of the Hidden Segments tab in IIS Request Filtering with the Edit Feature Settings command available." width="1662" height="464" data-path="images/flexi-capture/TG_Proccessing_WebStation_6.png" />
    </Frame>
  </Step>

  <Step title="Set the new limit">
    In the **Edit Request Filtering Settings** dialog box, enter a value in the **Maximum allowed content length (Bytes)** field, then click **OK**.

    <Frame>
      <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/TG_Proccessing_WebStation_5.png?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=a06b999dca53621d4f443d2cd205bf24" alt="Screenshot of the Edit Request Filtering Settings dialog box with the Maximum allowed content length field highlighted." width="290" height="353" data-path="images/flexi-capture/TG_Proccessing_WebStation_5.png" />
    </Frame>
  </Step>
</Steps>
