When trying to order multiple products in the IT Shop, it results in the following errors:
"Error: The server returned an unexpected data type. (Gateway Timeout)" - "An error occurred while processing your request"
Which is followed by a popup error window message:
At least one request cannot be submitted
Checking the ShoppingCartItem table, we can see that none of the orders went through.
In the API Server logs we can see the following error being logged:
The length of the query string for this request exceeds the configured maxQueryStringLength value.
The configured maximum value (character limit) for maxQueryStringLength was exceeded.
IT Shop requests get converted into query strings, the maxQueryStringLength gives a maximum character limit to these queries.
If the request is too long, it will be rejected by the web server.
The "maxQueryStringLength" value can be modified in the API Server's "web.config" file.
The default value is 32768 characters, which is suitable for most standard requests.
From One Identity's stance: There is no fixed recommended value for maxQueryStringLength, as the ideal limit depends heavily on the specific use case, customizations, and environment. Customers are free to adjust the value as needed for their use case.
Please note that longer query strings can impact performance, so consider increasing the "maxQueryStringLength" value incrementally, e.g., to 65536 or 131072 etc. until these errors disappear.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center