Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Survey with 120 questions throwing exception on save



When saving a survey which has a 100+ questions an exception is observed preventing save. If the questions is reduced to under 100 the survey may be submitted.

Error Messages

"The code of the method executed is exceeding 65535 bytes limit"

Steps to Reproduce

Create a survey with 100+ questions and try to submit it.

Root Cause

A software use or operation error.  A survey should not be created with that many questions on a single page.  They survey should be grouped into related "question pages" and configured to only display a single question page at a time or should be broken up into multiple surveys.


Perform the following local-change: The developers chose to break the survey into multiple surveys.


Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us