Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 
No ratings
KB-Sync1
Archer Employee
Archer Employee

Article Number

000017678


Applies To


Product(s): Archer
Version(s): All Versions
Primary Deployment: On Premises/AWS Hosted/AWS SaaS

Description


Attachment cannot be uploaded when the file size is more than 2.99MB by using RESTFUL API. You will receive an Internal Server error 500.

However, the same attachment can be uploaded through the attachment fields in the UI.


Cause


The web.config file in the API subfolder (Archer website's virtual directory /Archer/api) has the default value in maxRequestLength and maxAllowedContentLength.


Resolution


Add or modify the maxRequestLength and maxAllowedContentLength values in the web.config located in the Archer website's virtual directory (/Archer/API).

<httpruntime maxRequestLength="400000" executionTimeout="3600"/>
<security>
  <requestFiltering>
    <requestLimits maxAllowedContentLength="419430400" />
  </requestFiltering>
</security>


Version history
Last update:
‎2024-09-21 06:48 AM
Updated by: