Skip to content
Bug Barometer

"Request Header Fields Too Large" Error is Displayed When Amending Contract using Large Scale Amend/Renew with QCP

Salesforce says this works as designed.

Summary

When amending from the Contract, an error is displayed after clicking Amend on the Visualforce page:
"
reason: Request Header Fields Too Large
"

Note that the error can also happen during Renewal.

The generic error can also contain specific information such as:
a. Error while loading source Assets and Subscriptions
b. Error while loading Products
c. Error while loading Contracts

Depending on the specific information in the error, it shows where the object that the error happens.

The error appears because of the character limit that is imposed in the Heroku endpoint when QCP is present. Large Scale Amend/Renew (or JSAR) uses Heroku to process the amendment and renewal process. Based on the specific object, the error appears when:
1. Contract -- a large number of custom fields exist in the contract and/or the API names of the custom fields are very long. Note that all custom fields in the contract are included in the header request.
2. Asset/Subscription/Product - custom fields that have twin fields are included in the header request. Therefore, a large number of twin fields and/or if the API names of the twin fields are very long, the error appears. Additionally, records associated to the contract is also included in the header request. Depending on how large the contract is even if you only have a small set of twin fields, the error can also appear. In most cases, the number of unique product ids associated to the contract whether it is an asset or subscription product also contributes to the error.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Working as Expected with 11 reports

    Nov 30, 2026

Also open in Salesforce CPQ