The request filtering module is configured to deny a request where the query string is too long.

on API CALL GETTING BELOW ERROR

The request filtering module is configured to deny a request where the query string is too long.

By  Junaid A    03-Jun-2023    2

Solutions


Junaid A

in web config add these 2 sesstion

Add

<security>
<requestFiltering>
<requestLimits maxQueryString="32768"/>
</requestFiltering>
</security>
</system.webServer>

<httpRuntime targetFramework="4.5.2" maxQueryStringLength="2097151" maxUrlLength="2097151" enable="true" />

Your Answer

10348