I know of 2 reasons that cause this error:
- the text you are submitting is too long
- the text you are submitting contains "forbidden phrases" (" styIe=" is one of them)
- there may be other reasons I don't know about
Because you could edit individual sections but not the page as a whole, I guess you got the error because of the first reason.
There are workarounds for both causes, but they may be quite inconvenient.
If you can't edit the page because the text is too long, you can edit individual sections instead (just as you did). If the section is also too long, you may need to split it up (and then maybe delete the split somehow?). Alternatively, you can create subpages and then transclude them within the main page (if you know how to do that), but do this only as a last resort.
If you can't edit the text because if contains the phrase " styIe=", you can replace it with " style{{=}}" and it should work. You can also put the text with the phrase inside <includeonly> tags (if you know what they do) and it won't trigger the error for some reason, but you generally don't want to do that.