Request:
Basically (the first sync of the relatively large database) everything works.
Tests have shown that users with access to 100-200 passwords can still update the app afterwards. Users who need all passwords (ca 8500) unfortunately cannot update the database on the mobile device
Message reads:
[:error] [pid 3346541] [client xxx.xxx.xxx.xxx:xxxx] [client xxx.xxx.xxx.xxx] ModSecurity: Request body no files data length is larger than the configured limit (131072).... Deny with code (413).
Requirement:
- Access to the IIS server.
- Permission to change settings on the IIS server.
Implementation:
This call is exactly the issue. The "413" at the back is the problem.
This is the HTTP response code that is returned. The previous calls all have "200", which means "OK". With code 413 it is "Content Too Large" (see explanation).
In IIS, this value is configured to 49152 bytes by default. But the value can be changed in the web.config or via the IIS directly. For this I just reference Microsoft support: https://learn.microsoft.com/en-us/answers/questions/946210/413-request-entity-too-large
Please increase the uploadReadAheadSize as well as the maxAllowedContentLength.
Comments