> ## 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.

# Automatic import from a Hot Folder does not work

> Fix automatic Hot Folder import failures in ABBYY FlexiCapture by checking the Processing Server, station permissions, connection errors, and file processing.

When importing automatically from a Hot Folder, import jobs are generated using a timer based on the settings specified in the project import profile. In general, import is carried out by Processing Stations under the account used to launch the Processing Station Windows service. For email and FTP/SFTP import, the account specified in the import profile settings is used. If an error occurs during import, it is recorded in the job log for diagnostic purposes. The logs can be viewed in the Processing Server Monitor and in the Administration and Monitoring Console.

You should begin error analysis by checking that the Processing Server Monitor log properly records and displays job information. If some records are absent, check the following:

* Verify that the Processing Server is running.
* Verify that at least one Processing Station is running and that it is allowed to process import jobs.
* Verify that automatic checking is enabled in the import profile of the project (that is, that the “Check every x seconds” option is enabled and that a check interval is set).
* Verify that a Hot Folder import profile is enabled for the project on the `/FlexiCapture12/monitoring/#Settings/Projects` page.

If a record for a job appears in the log but an error still occurs, check the diagnostic text and match it to one of the following:

<CardGroup cols={3}>
  <Card title="Cannot connect to the import source" icon="plug-circle-xmark" href="#unable-to-establish-a-connection-to-the-import-source">
    "Cannot connect to 'ServerName'" (for example, error code 11001) or "Access denied".
  </Card>

  <Card title="Cannot process the files" icon="file-circle-xmark" href="#unable-to-process-files-when-importing">
    An error processing a specific file, email message, or Office document conversion.
  </Card>

  <Card title="Cannot load the files" icon="server" href="#unable-to-load-files">
    "Error connecting to AppServer" (for example, HTTP 503) — the Application Server may be unavailable.
  </Card>
</CardGroup>

## Unable to establish a connection to the import source

If the Processing Station is unable to get a reply from the import source, the log record will contain a message saying “Cannot connect to 'ServerName' (error code: 11001).” A full list of codes and what they mean can be found here:

[https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2](https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2)

[https://docs.microsoft.com/en-us/windows/win32/wininet/wininet-errors](https://docs.microsoft.com/en-us/windows/win32/wininet/wininet-errors)

For example, 11001 means that the specified name is not a known server name. This may occur due to a typing error in the server name. You should also check your firewall and proxy server settings.

The most common error that occurs when importing from a folder is “Access denied.”

Importing is done by the Processing Station. Depending on the import profile settings, the user account running the station should have:

* Permission to access the source folder.\
  When importing from a network folder, open the **Sharing and Security** tab in the **Network Folder Properties** dialog box and make sure that the user account used to run the Processing Station’s Windows service has full access to the folder.

or

* Permission to connect to a remote email/FTP server using the port that is specified in the settings. When importing from an email server, the copy of Microsoft Outlook installed on the Processing Station should have the same bitness as the Processing Station. If Microsoft Outlook is not installed, the following message is displayed: “Cannot initialize MAPI: Microsoft Outlook is not installed.”

<Warning>
  When importing using the MAPI protocol, click-to-run Microsoft Outlook installation is not supported. In this case, the following error message is displayed: “Cannot initialize MAPI: Failed to create a class in the dynamic-link library `Rs.MapiConnector.x86.dll`.”
</Warning>

<Note>
  We recommend that you use Microsoft Outlook 2016 when importing to ABBYY FlexiCapture 12 using the MAPI protocol. Later versions of Microsoft Outlook are not supported.
</Note>

## Unable to process files when importing

If an error occurs when processing a particular file or email message, contact ABBYY’s technical support, providing them with the logs and the files that you attempted to import.

If an error occurs when converting Office documents:

* Make sure that the Processing Station has the necessary Office conversion software installed.
* If the conversion software is already installed, try using different conversion software.
* Contact ABBYY’s technical support, providing the converter logs and the files that you attempted to import. The conversion software will be specified in the logs. Example error message: “Failed to open the file.'C:\ProgramData\ABBYY\Pop3HotFolder\ProcessingTasks\Task3752d11e\Email message.html.zip' using embedded Office application. Exit code: 4.”
* If a description file was used for import, an invalid description file may be the cause of the error. Make sure that it satisfies the requirements set out here: [Description file](/flexi-capture/project-settings/description-file).

## Unable to load files

This type of problem will result in an error message of the following type: ”Error connecting to '[https://AppServer](https://AppServer)', error code: (HTTP 503, 19, 0)'.” In this case, you will need to verify that the Application Server is available and is functioning properly.
