Could you please try the below steps to resolve this issue.
- Microsoft has released Azure DevOps Server 2022 Patch 5, check if installing the latest patch resolves the issue.
- While you've already attempted to set MaxJsonLength in a custom IHttpModule, ensure that you have also set it in the correct section of the web.config file. Increase the request length in web.config:
<configuration> <system.web> <httpRuntime maxRequestLength="2097151" /> </system.web> </configuration>
Hope this helps!
Please Let me know if you have any queries.