When submitting a configuration form to Jenkins, I get a 500 error saying This page expects a form submission but had only

Article ID:218762177
1 minute readKnowledge base

Issue

When submitting a configuration form to Jenkins, I get a 500 error saying "This page expects a form submission but had only {}"

Environment

Any version of Jenkins

Resolution

Generally if you get this error, it means that you need to look at the Javascript console (View -> Developer -> Javascript console) for more information on how to diagnose the problem. Often, you will see a 500 error encountered while executing some Javascript like this one:

Configure_System_Jenkins_.png

You can then click on the URL in the error message to get the root cause.

Include the symptoms and error message in a CloudBees Support ticket so that we can help you diagnose the problem.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.