Skip to main content
Kofax

MarkView Application Server – HTTP 413 Entity Too Large on Kofax Capture

Summary

11946

Applies To

  • ERP System: All
  • MarkView Version: 6.5 and higher

Behavior

  • Some batches from Kofax Capture fail when processing large images.
    Export Error: Script #1 (Kofax MarkView Export Connector) [0 MVImportAPI.MVImportException: Exception in HTTP Upload Request.
    ---> MarkView.DocServer.FileTransferException: Exception in HTTP Upload Request. ---> System.Net.WebException: The remote
    server returned an error: (413) Request Entity Too Large.
  • Un-rejecting and opening the properties shows the full error message
    '05','2013-08-29','04:48:05','2013-08-29','05:01:46','Export','32','DYW12210APP01','0','Export Error: Script #1 (Kofax MarkView Export
    Connector) [0 MVImportAPI.MVImportException: Exception in HTTP Upload Request. ---> MarkView.DocServer.FileTransferException:
    Exception in HTTP Upload Request. ---> System.Net.WebException: The remote...','0','0','0','0','0','0'
  • Apache Access Log contains the following string when a batch fails: 413 365
    • 413 is the HTTP error code related to Request Entity Too Large.
  • Apache Error log contains the following message: Request content-length of XXXXXX is larger than the configured limit of YYYYYY
  • DTM logs have no record from the failed batch.

Resolution

  • Increase the size of the LimitRequestBody in $ORACLE_HOME/Apache/Apache/conf/httpd.conf
  • Re-start OPMN using opmnctl stopall / opmctl startall commands

Keywords: 413, entity, too large