Unable to Apply Space Permissions due to exceeding the maximum number of request parameters

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When trying to apply space permission for a user/group, an error is thrown and the following appears in the catalina.out:

12-Oct-2017 13:45:56.435 INFO [http-nio-9001-exec-16] org.apache.tomcat.util.http.Parameters.processParameters More than the maximum number of request parameters (GET plus POST) for a single request ([10,000]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.

Cause

This occurs because Tomcat has reached a maximum number of request parameters when trying to add a user/group to a space permission page. This usually happens when there are many users and groups defined in the space permission. 

Resolution

Add the following attribute to the Connector in the <confluence-install>/conf/server.xml:

maxParameterCount="20000"

The default value is 10000, so the new value should be something higher. In the example above, it is set to 20000. It can also be set to 0 to allow unlimited request parameters.

(info) Refer to the Apache Tomcat 8 Configuration Reference for the full documentation of this Connector attribute.


Last modified on Jan 2, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.