cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Request Header Is To large

Can4
Explorer
0 Likes
1,082

Hi,

I am using sap bo rest apis. I get the document paramaters then user fills this parameters after that I am redirecting to open document url. I add parameters and token to the open document url then redirect users to this open document url.

 However, If some parameters have to many values, I am getting request header is to large error. How can I fix this issue?

Accepted Solutions (0)

Answers (1)

Answers (1)

JohnClark
Contributor

In %TomcatDir%\Conf is a file called server.xml.  For the connector ports, (80, 443, or whichever you use) there is a parameter that is added to support Single Sign-on called maxHttpHeaderSize.

If you don't have this parameter for your connector port(s), you can add it.  The setting used for Single Sign-on is maxHttpHeaderSize="65536" added at the end of the line.

If you already have this parameter, try increasing it.

I'm not sure if this parameter is set anywhere else besides this.

dallasmarks
Active Participant
0 Likes
John is correct. Increasing the maxHttpHeaderSize is a common activity when setting up Active Directory authentication and SSO and is documented in the help https://help.sap.com/docs/SAP_BUSINESSOBJECTS_BUSINESS_INTELLIGENCE_PLATFORM/2e167338c1b24da9b2a94e6...
Can4
Explorer
0 Likes
@dallas-marks, @JohnClark I tried this solution but it didn't work. I looked at the Content-Length value of the header in the developer tools section of the browser. This value was 142123. I also gave maxHttpHeaderSize a very large value. I gave this value 200000000 but it still didn't work
JohnClark
Contributor
0 Likes
There is a character limit as to how many characters can be passed into a parameter in Business Objects. I don't recall the number but there is limit on how much you can pass in. You may just be over that limit. Not anything that can be done about it that I know of.