I was using Jenkins for a while and everything was working perfectly fine. But two or three days back i need to change some configuration for one of my project and when i hit apply button after performing those change. This error screen appears. Even i don't change anything and click apply button same error screen pops up.

I am currently using Jenkins version 2.265
this error occur when i hit this button

I had same issue, it was because of "dark mode extension" on google chrome. It was ok on firefox, but chrome not. I suggest to disable dark mode extension on chrome when using jenkins.
I downgrade jenkins to version 2.263 and everything starts working fine. So i think this issue is specific to Jenkins version 2.265
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With